Create a Custom Marker in Artoolkit


  1. Download Artoolkit and extract it to a specific folder.
  2. To create your own markers, you have to start with a blank rectangle located in doc/patterns/Blank pattern.png.

  3. Blank Marker Pattern
  4. Change the Blank pattern image by inserting some pattern in the middle of the rectangle. I have modified the image to this image shown below

  5. Kanji  Marker Pattern
  6. Go to bin folder of recently downloaded Artoolkit library and click on mk_patt.exe file. It would ask you to enter "Camera parameter filename", just press Enter

  7. This would start your camera on PC. Point your camera towards the image you created in step 3

  8. creating Marker Artoolkit
  9. You should be able to see a red and green square around the Marker. After you see the red and green line besides your marker it means that the ARToolKit has found the marker. The red corner should be at top left corner of your marker only. After marker detection just press Enter.

  10. You would be promted with "Enter your pattern name". write the pattern name in this format "patt.filename" ex. "patt.kanji" Then press Enter

  11. This would create a pattern file named "patt.kanji" in bin folder. Move this file into Assets/ARToolKit5-Unity/Resources/ardata/markers folder. The pattern files are accessed in this directory

You have successfully created your marker. You can now use that marker in your application

If you have any doubt or suggestion, please comment below. That would help you as well as others who read this post.

      
        
Solution Didn't Worked 4 DownvotesDownvote


Comments




Search