Menu

problem creating my own patterns

Help
2005-07-15
2013-04-11
  • difrafotard

    difrafotard - 2005-07-15

    Hi,
    i'm having problems creating my own patterns, i open TrackBlank.jpg, draw something inside the marker outline and print the pattern out. Then, i run Alignment Tool 1.0.exe or simpleTrack.exe, they work with the spider pattern but they also work with all the other patterns that ive created (circle, rectangle, apple, triangle, star.............), and i dont update .frame file, it is the spider's .frame.
    Same problem with simple3dl.exe in 3dlive.

    what am i doing wrong?

    Greetings

     
    • guillaume

      guillaume - 2005-07-15

      Hi,

      For alignement tool 1.0, this is not trackspider.frame but TrackAlign.frame. In fact, it doesn't matter you just need this application to align your 3d models.
      About simpletrack, try to do some test with other frames,  i have the same problem.
      I think is better for you to look at  tutorials and associated projects, necessary information is detailed in pdf file. All this is working fine for me.

      gui

       
    • difrafotard

      difrafotard - 2005-07-15

      hi,

      thanks for your comments,

      i know that TrackAlign.frame is the frame used by Alignment Tool 1.0.exe, but this frame is the spider picture (spider frame), and that isn't my problem. I had already read html documentation about mxrtoolkit and other pdf about Alignment Tool 1.0.exe, and i know how to use Alignment Tool 1.0.exe, and i also know how to create my own patterns (mxrFrameCreateFromImage(&frame,"C:/Example Projects/Frames/TrackMine.jpg",dpi)...............etc) but the problem is that all patterns are recognized as the same one (ive tried about 30 pics).

      Greetings

       
      • guillaume

        guillaume - 2005-07-18

        How is declared your frame?
        mxrframe frame[2];
        In mxrMain:
        mxrFrameRead(&frame[0],"../Frames/TrackSpider.frame");        mxrFrameCreateFromImage(&frame[1],"C:/Example Projects/Frames/TrackMine2.jpg",300);

        then in your function call:
        if (frame[0].foundflag)...etc.
        if (frame[1].foundflag)...etc.

        It's better to declare all markers to avoid confusion.
        Look at example track2, it's working fine.

         
    • difrafotard

      difrafotard - 2005-07-19

      Hi,

      Thanks, it seems to work better declaring all markers.

      Greetings

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.