Comments (18)
I'm on it.
from apriltools.
I have succesfully managed to compile and run the software under Linux now. I will update the repository tomorrow.
from apriltools.
I got it working on Arch by installing the opencv
package, installing apriltag
from source and then running
gcc AprilTools.cc -o AprilTools $(pkg-config --cflags --libs opencv4) -I/usr/local/include/apriltag -L/usr/local/lib -lapriltag -lstdc++ -lm -Wl,-rpath /usr/local/lib
from apriltools.
@HansH Thank you for your amazing work. I've merged your pull request. I have added a Linux binary release now. I have successfully tested this release on Ubuntu 16.04, 18.04 and 19.04. Closing the issue as solved.
from apriltools.
I'm on it.
Awesome! =)
from apriltools.
Uh... I managed to get it work on my new Linux machine, but not on my old one... So now I am downloading a virtualbox image of a Linux version which is old, but not insanely old to see if it will compile and work there. Then hopefully I can add the binaries here.
from apriltools.
Great work on this! Will there be support for the macs in the future? :)
from apriltools.
Ehm ehm.
Now it's not the right time to ask that.
I've just spent around 5 hours unsuccessfully trying to port it to Linux. :D
But hopefully I am close now. I am still really new to this.
But in all seriousness, thanks, and I hope there will be! But I don't really have a mac, so it will be a bit difficult.
from apriltools.
Yeah dont sweat it, just be proud of what you already have accomplished! Ill fire up the old pc and use that for the tracking part :)
from apriltools.
Thanks! It should be trivial to port it, since it's pretty much a Linux code. I am having trouble with libc versions, opencv versions and more fun stuff.
from apriltools.
I managed to compile it, but it seems like the Linux repositories for different Linux versions have vastly different versions of opencv with vastly different APIs. So I will need to bundle openCV with it somehow. Tried linking it statically, but that failed, tried including the libraries, but they were dependant on a very new version of libc... Now I am trying to compile opencv from source to get the libraries dependent on an older versions of libc for better compatibility... Then I'll try to either link it statically or somehow dynamically while still including the libraries in the .zip .
from apriltools.
@f0x52 Thank you! Me too. I got this working on Kali and Ubuntu using (more or less) the approach you describe. But I CAN'T for the love of God manage to compile in a way that would allow me to distribute the whole thing without forcing the user to install opencv.
I can't manage to link opencv statically. Do you have any idea how to do it?
from apriltools.
Maybe an install script/makefile is the way to go? At least that's what gocv uses and it works very well every time and on different systems. I'm not sure how difficult it is to implement.
Personally, I don't mind dynamic libraries as long as I don't have to find and install everything manually.
from apriltools.
@christoph1703 The thing is that the code is dependant on a newer version of OpenCV than the one that can be obtained by apt-get on some relatively new-ish Linux distros, such as Ubuntu 16.04 .
This would force the users to compile openCV from source, which I tried on a virtual machine I literally had to leave it overnight to even complete.
I guess I could use an install script, which would copy the dynamic libraries to where they belong. I will take a look at gocv. Thank you for the comment!
from apriltools.
Hmmm actually I can take the opencv compilation/installation makefile I found somewhere and then just edit it to install the prebuilt libraries. Yea, probably the best way. I'll try it soon.
from apriltools.
Good luck, I hope everything will work! Makefile is in my opinion the best way to go!
from apriltools.
I've opened pullrequest #9, which adds a cmake file, and instructions on how to build on Ubuntu and MacOS. This will not solve your problems with older linux versions, though
from apriltools.
I've opened pullrequest #9, which adds a cmake file, and instructions on how to build on Ubuntu and MacOS. This will not solve your problems with older linux versions, though
@HansH Wait, so it is now working under MacOS? AMAZING!
I just got it working on Ubuntu 16-19 without the need for installation. Updating everything shortly. I had to compile everything under an old version on Ubuntu and then set RPATH in CMAKE to be relative. Then I collected the necessary libraries using LDD and some bash scripting.
from apriltools.
Related Issues (20)
- Focal Length Estimation -1 px HOT 4
- Run AprilTools on linux HOT 5
- When using Cmake, the source direction /apriltag does not contain a CMakeLists.txt file. HOT 2
- Tracking stops on frame 73 HOT 1
- Tag is not aligned with marker on vertical video HOT 3
- Build from source gets stuck at 21% on OSX HOT 2
- Live Video Feed HOT 1
- Shaky 3d objects despite good tracking HOT 2
- Doesnt work in new Blender Versions. HOT 2
- Adding all apriltag families HOT 1
- tracking not working
- Python script won't import in 2.91
- Import track to blender camera not moving HOT 2
- Has this project been abandoned? HOT 7
- Don't package AprilTools.exe in bin/, package it in releases.
- CI/CD
- Add a .gitignore HOT 1
- april tools does not detect the contents of this folder HOT 2
- Issue when trying to import to blender HOT 8
- A readme for python-rewrite?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apriltools.