Create a Custom Marker in Artoolkit

[11632 views]



  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

        




Getting any Errors while coding? Ask us on our new Forum:




Liked Article? Please Buy Author a Coffee


Comments

3 comment
  • Raghvendra Pratap Singh

    Does this rule is same for playcanvas ?

  • Shaddy

    Yes, this rule would apply for Playcanvas too. As Playcanvas is built over ARToolkit.

  • yogee

    how to create cube marker



Search
For Sponsored Advertisement OR Freelance Programming Article Submission, Contact us at atechdailyweb@gmail.com
Recommended Deal Ends in











Quizzes:
Online Games
Play 2048 Game Online and Relax.
Play 2048 Game Online

Why does everyone hate Java?
How much JavaScript to learn for Web Development
How to Convert EPOCH to Date in Java
Search Tags

    Artoolkit Marker creation steps

    How to make markers in ARtoolkit