OpenCV Basics - 15 - Aruco Markers
Вставка
- Опубліковано 4 лип 2024
- NEXT (16) - • OpenCV Basics - 16 - C...
PREVIOUS (14) - • OpenCV Basics - 14 - C...
After nearly a year, due to popular demand I revisit this series to complete camera calibration and Aruco markers.
Thanks for watching!
Your support helps me make new content!
If you'd like to become a Patron: / glecakes
Website: www.georgelecakes.com
Twitter: / glecakes
Facebook: / george.lecakes
This series of OpenCV Basics videos help me a lot. I would like to provide some feedback here. In order to include aruco.hpp into opencv2 folder, the opencv_contrib-4.x need be downloaded first. After cMake configure process as show in "Building with CMake video", clicking OPENCV_EXTRA_MODULES_PATH whose directory is the opencv_contrib-4.x file location, OpenGL and opencv_nonfree.
When I created markerDictionary object by Ptr, it has given me an error. Therefore I use cv::aruco::Dictionary dictionary = cv::aruco::getPredefinedDictionary(cv::aruco::DICT_4X4_50) to make the program work.
Your voice makes me look forward to learning on UA-cam. Bravo!
Aw, thank you! Hope you learn a lot.
Thank you for these beautiful tutorials! They've been very helpful
Thank you for your tutorials. They are very good to learn and help other people that are beginning on Opencv like me.
It is super useful tutorials to explain how to integrate OpenCV and C++ together seamlessly. I could get more benefit from camera calibration and Aruco Markers. Thanks.
awesome , keep up the great work
Thank you, knowing people enjoy the videos keeps me going.
Excellent
Thank you so much George :b
Well-Done!
It's useful for opencv beginners !
WOW!!! :D It really works!! this videos are really helpfull!!!
thank you so much !
good work.....!!
0:44 Link to prior video that discusses "contribute libraries": ua-cam.com/video/fIpTks0G2m0/v-deo.html
At the beggining of this video you say you'll show how to calibrate the camera from a precaptured video. I can't find where you show it. The only program I see works taking pictures from a real time video. I really need both versions. Thanks in advance
how do I add aruco libraries on ubuntu? i have been following your videos without a problem until this video
In your upcoming videos on openCV could you please do a Machine Learning example of SVM for Image classification
It has been a long time since I've done machine learning, state vector machines, etc.... Not likely, but I'll think about it.
Hello. I succesfully calculated camera matrix. Also, I succesfully detect aruco marcers and get position of them (translational, rotational vectors). But I have a question...How can I know that camera calibration was succesfull? In tutorials there is a very nice explanation how to do it, but I don't know how to check if calibration parameters are right? How can I test if camera is calibrated correctly and how to visualize calibration effect? Thank YOU!
Hi. nice work George.
can you do a Video about live stream and filters
Hey, I have problems implementing the Aruco library to visual studios. i've done it with OpenCV 3.2.0. I just downloaded the newest version of Aruco 2.0.19. I read somewhere that OpenCV 3.1.0 had aruco already implemented. Could you help me sort my aruco library problem?
i´ve the same problem
If you are on MacOS using Xcode, if you made the "OpenCV Basics - 11" lesson, and are getting these errors:
Undefined symbol: cv::aruco::drawMarker(cv::Ptr const&, int, int, cv::_OutputArray const&, int)
Undefined symbol: cv::aruco::getPredefinedDictionary(cv::aruco::PREDEFINED_DICTIONARY_NAME)
To solve this you only have to go to:
1) "Project navigator" -> "YOUPROJECT" -> "YOURTARGET" -> "Build Settings" -> search for "Other Linker Flags"
2) And then add "-lopencv_aruco"
Done :D
hello . i got this error " the program can't start beacuse opencv_aruco400d.dll is missing from your computer try reinstalling the program to fix this ." i have cheked lib direction , and opencv_aruco400d.dll was there. i watch and do all your videos till here.what should i do?
Hi, where can i get opencv_aruco330d.lib and the other additional libs? can't find them anywhere in the web. They're not included in opencv or in aruco sources
+TS one of my videos shows how to build it yourself.
i tried of doing the Arco Markers but while including in visual studio.
while including in the program #include "opencv2\aruco.hpp" its showing there is no such library in visual studio and i tried of searching for including those. But i counldn't find. Can you let me know how to include that library. In this case
Thank you.
Try to follow the Opencv Basics 11 where he explains how to compile opencv with contrib files, that is where the aruco is implemented
I am not able to find aruco.hpp under opencv2 folder. I am using opencv 4.6.0 and I installed it via official website.
Hi George! I want to make a video instruction for the Russian audience about ArUco markers. Can I use your code? Under what conditions can this be done?
Just attribute the original code to this video.
@@GeorgeLecakes OK thanks! I will provide the code for your video and channel. Ilovecameracalibration!
I got this error after debugging the solution ---> "The code execution cannot proceed because opencv_aruco400d.dll was not found. Reinstalling the program may fix this problem". How should I reinstall lib ?
stackoverflow.com/questions/31711093/the-program-cant-start-because-opencv-world300-dll-is-missing-from-your-comput
I'm getting "undefined reference to cv::aruca::getPredefined..." error
Why did you stop making these awesome videos? I'd love to see more videos George :)
I only learned OpenCV to complete a course in computer vision for my PhD credits as well as to complete an FAA real-time drone project. I haven't had any reason recently to dive back in.
@@GeorgeLecakes I see, Is the code available somewhere?
Hi, excellent tutorial!
I've tried multiple ways to do this.. Included all the .lib's but I run into this error:
1>main.obj : error LNK2019: unresolved external symbol "struct cv::Ptr __cdecl cv::aruco::getPredefinedDictionary(enum cv::aruco::PREDEFINED_DICTIONARY_NAME)"
Any thoughts or suggestions?
Have you solved this problem?
Hi guys, had the same problem and I found some kind of solution that worked for me, I just added all debug files from lib folder to linker->input->additional dependencies
Not only ones shown in the video but all of them from lib folder
can this be implemented in android?
My code runs and exits with 0 - however no files are created. I've tried to build in an imshow, but the program just runs and then exits (even ignores waitkey).
Suggestions?
+Simon Darville any code you can share?
George Lecakes i tried to shut down and rewrite. Must have made a mistake. Got it working now. Thanks for your great videos. Really enjoy following the progress. Hoping to be able to write sport analysing programs.
I don't have aruco markers library, how do I install it with my opencv?
See previous video on building opencv with contribute libraries
@@GeorgeLecakes in that tutorial you don't tick the box of BUILD_opencv_world but then, at the end of your video, you link to the very first tutorial where you do include the opencvworld debug file. I think you should redo that cmake tutorial and also show how to integrate the new changed version of opencv you built with cmake instead of just linking to your old tutorial which no longer works
That is why the videos are numbered. Using contribute is not required for everything before video 10 and video 11 and beyond dont use CV world.
Is it possible to explain how to install step by step Aruco lib . I downloaded and install succefully open cv for code bloc but when I try to install the lib aruco it doesn't work at all. I used cmake gui and it says that it can't find opencvconfig.cmake... I tried lot of stuff but it doesn't work at all.
Its in the previous video. Check the playlist.
I couldn't use imwrite I got cv::Exception at memory location :/
I got a similar problem with imwrite(). I fixed it by adding the worldXXXd.lib to properties/linker/input/additional dependencies and adding the line ' #include "opencv2\opencv.hpp" ' to the main.cpp
im having an error saying "identifier ""imwrite is undefined" can someone pls help me.
Your compiler doesn't know what imwrite is. Did you include the necessary files as covered in the prior videos for setting up visual studio?
HOW DO I INSTALL THE ARUCO LIBRARY THAT I JUST DOWNLADED? THERE IS NO opencv2\aruco.hpp . IM GONNA LOOSE MY MIND PLEASE HELP ME
Go watch the previous video where i show you how.
Hi George I had an error saying opencv_aruco420d.dll was not found what should I do?
Sounds like your DLLs aren't setup. Did you build you OpenCV with support for Aruco? Did you link to the libraries in your IDE?
@@GeorgeLecakes I copied the .dll files to the project folder and it works now. Thank you so much!
@@tonysang3660 hi Tony, I can not find opencv_aruco411d.lib and i used opencv_world411d.lib for all project ->> serious error. Can you help me fix my project
watch George's tutorial on build your own openCV with Cmake. The aruco stuff is in the contribute repository github.com/opencv/opencv_contrib