thegoodhen / AprilTools

A marker-based camera tracker for Blender based around the AprilTags Library by University of Michigan
GNU General Public License v3.0
253 stars 29 forks source link

Has this project been abandoned? #39

Open ghost opened 2 years ago

ghost commented 2 years ago

Last commit was in 2020, what happened, did you forget about it or did real life get in the way?

thegoodhen commented 2 years ago

Wow. It has really been a year. i havent abandoned it... i hope to get back to it soon. i really need to work on it some more.

On Wed, Jan 19, 2022, 5:53 PM Daniel @.***> wrote:

Last commit was in 2020, what happened, did you forget about it or did real life get in the way?

— Reply to this email directly, view it on GitHub https://github.com/thegoodhen/AprilTools/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS2OW5V2BAGWJ6KOTVE27DUW3T7ZANCNFSM5MKOSUFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ghost commented 2 years ago

not just one year, two years! 😄

thegoodhen commented 2 years ago

I'm back on it. You can watch the python branch for progress updates!

not just one year, two years! 😄

MetalMantis commented 2 years ago

Awesome to have you back Also, is the rewrite going to use the original apriltag or is it going to use the apriltag 3?

thegoodhen commented 2 years ago

Awesome to have you back Also, is the rewrite going to use the original apriltag or is it going to use the apriltag 3?

Hello, the process of compiling AprilTag library under Windows proved to be rather complicated. I couldn't get it to compile natively under Windows and it was not possible for me to get it running on Windows under Python at all. I would love to get other people involved in the development and it seems like the most straightforward way to achieve this is to write the tool in Python. This makes it extremely simple to install the required dependencies.

For this reason, I decided to use the OpenCV version of Aruco library. The Aruco library supports April Tags as well as other types of tags.

For historical reasons, I am keeping the name AprilTools.

MetalMantis commented 2 years ago

For this reason, I decided to use the OpenCV version of Aruco library. The Aruco library supports April Tags as well as other types of tags.

does this mean that users will have to install OpenCV as well? Or would the necessary dependencies be included? I recall OpenCV being quite a headache to fully install on Windows.

thegoodhen commented 2 years ago

For this reason, I decided to use the OpenCV version of Aruco library. The Aruco library supports April Tags as well as other types of tags.

does this mean that users will have to install OpenCV as well? Or would the necessary dependencies be included? I recall OpenCV being quite a headache to fully install on Windows.

Hello, I just pushed some hotfixes to the main branch. It now works under Blender 3.1.

When it comes to the Python version, I am not yet sure how I will be distributing it,

You are absolutely correct that OpenCV is a huge pain to install under Windows. That being said, I never had issues when getting it to work under Python, because Python has a package with precompiled binaries ready.

I haven't yet looked into ways to distribute the Python application, but I definitely will do my best to circumvent the necessity to install OpenCV under Windows.

To be honest, I tried installing it before for the purpose of development and FAILED.

UPDATE regarding the Python version:

That being said, I am having some problems with the algorithm that I am using to get the relative position of the markers. Sometimes I am getting reprojection errors under 0.25px, other times it fails miserably and shoots into thousands. I know what the problem is, but am not sure how to solve it yet.

Then of course I need to implement the GUI... Lots of work ahead! So far I am still just changing constants in the code and experimenting! Another large concern I have is that the markers I am using (Aruco) have worse accuracy than AprilTags. Worst case, I will need to create a separate binary just to track the AprilTag markers and then import the file it generates into Python for further processing.