Android Question There is any code for AprilTag reader ?

Adamdam

Active Member
Licensed User
Longtime User
Dear all,
Greetings,
Anyone created any project to read AprilTag ?

I found solution from ChatGPT, but can go through with his solution, any help
My question to ChatGPT is :
There any B4A code that read Apriltag?

Please if anyone make that steps or can make these steps, please.

the answer is:
B4X:
As of now, there is no direct B4A (Basic4Android) library or official support for reading Apriltag markers, but you can still integrate Apriltag functionality in your B4A project by using a combination of Java-based libraries and JNI (Java Native Interface) or via an Android wrapper.

[HEADING=2]Steps for Integrating Apriltag Detection in B4A:[/HEADING]
[LIST=1]
[*]Use Java's Apriltag library: There is a popular open-source library for Apriltag detection written in C++ called AprilTags that has Java bindings. You'll need to include a Java wrapper for this C++ library in your B4A project.
[*]Prepare Apriltag Library for Android: The easiest way to get the Apriltag detection working in Android (and by extension B4A) is by using the Java API for the library. You can find several Java wrappers for Apriltag detection.
[*]Use JNI or a Java wrapper in B4A: You will have to call Java methods from your B4A code using the JavaObject class.
[*]
[*]
[/LIST]
Best regards
 

Adamdam

Active Member
Licensed User
Longtime User
How do these tags work? How is the connection made?
Many thanks for your interest and reply.

It very closes to QR code,
but the reader gives more information than QR:
- QR reader return only the data in the QR,
- While AprilTag give the data plus the angle of code related to camera, by this way the camera can detect position related to the code.
References:
- https://github.com/AprilRobotics/apriltag
Videos:
- -
I need at least now, the reader for the code.

Best regards
 
Upvote 0
Top