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

КОМЕНТАРІ • 66

  • @chenyenlin6384
    @chenyenlin6384 Рік тому +2

    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.

  • @xiaoyingsun4581
    @xiaoyingsun4581 4 роки тому +6

    Your voice makes me look forward to learning on UA-cam. Bravo!

  • @fredpetti2117
    @fredpetti2117 5 років тому +2

    Thank you for these beautiful tutorials! They've been very helpful

  • @RafaelOliveira-wc7rv
    @RafaelOliveira-wc7rv 5 років тому

    Thank you for your tutorials. They are very good to learn and help other people that are beginning on Opencv like me.

  • @ucsdncmir
    @ucsdncmir 4 роки тому +1

    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.

  • @zack1652
    @zack1652 7 років тому +6

    awesome , keep up the great work

    • @GeorgeLecakes
      @GeorgeLecakes  7 років тому +1

      Thank you, knowing people enjoy the videos keeps me going.

  • @sonic8176
    @sonic8176 7 років тому +2

    Excellent

  • @jianlongzhao986
    @jianlongzhao986 7 років тому

    Thank you so much George :b

  • @hamidmajidibalanji691
    @hamidmajidibalanji691 2 роки тому

    Well-Done!

  • @simonc8832
    @simonc8832 7 років тому

    It's useful for opencv beginners !

  • @marisolsierra5918
    @marisolsierra5918 6 років тому

    WOW!!! :D It really works!! this videos are really helpfull!!!

  • @quykisanto4057
    @quykisanto4057 6 років тому

    thank you so much !

  • @rajmohan9261
    @rajmohan9261 7 років тому

    good work.....!!

  • @davidzimmer2156
    @davidzimmer2156 11 місяців тому +1

    0:44 Link to prior video that discusses "contribute libraries": ua-cam.com/video/fIpTks0G2m0/v-deo.html

  • @federicojosegonzalez-vicop9787
    @federicojosegonzalez-vicop9787 6 років тому

    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

  • @ibrahimyazici3416
    @ibrahimyazici3416 7 років тому +1

    how do I add aruco libraries on ubuntu? i have been following your videos without a problem until this video

  • @suleimanmustafa1473
    @suleimanmustafa1473 7 років тому +2

    In your upcoming videos on openCV could you please do a Machine Learning example of SVM for Image classification

    • @GeorgeLecakes
      @GeorgeLecakes  7 років тому +5

      It has been a long time since I've done machine learning, state vector machines, etc.... Not likely, but I'll think about it.

  • @andrazskoda152
    @andrazskoda152 6 років тому

    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!

  • @MyMahela
    @MyMahela 7 років тому

    Hi. nice work George.
    can you do a Video about live stream and filters

  • @ThisDankerMan
    @ThisDankerMan 7 років тому +2

    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?

  • @brenomedeirosdeoliveira4090
    @brenomedeirosdeoliveira4090 4 роки тому

    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

  • @ehsanhazrati8478
    @ehsanhazrati8478 5 років тому

    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?

  • @tsk6499
    @tsk6499 6 років тому

    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

    • @GeorgeLecakes
      @GeorgeLecakes  6 років тому

      +TS one of my videos shows how to build it yourself.

  • @RamtejRayaprolu
    @RamtejRayaprolu 7 років тому

    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.

    • @darkside3ng
      @darkside3ng 7 років тому +1

      Try to follow the Opencv Basics 11 where he explains how to compile opencv with contrib files, that is where the aruco is implemented

  • @christiangamers2254
    @christiangamers2254 Рік тому

    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.

  • @Artyomuchch
    @Artyomuchch 3 роки тому

    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?

    • @GeorgeLecakes
      @GeorgeLecakes  3 роки тому

      Just attribute the original code to this video.

    • @Artyomuchch
      @Artyomuchch 3 роки тому

      @@GeorgeLecakes OK thanks! I will provide the code for your video and channel. Ilovecameracalibration!

  • @ariba002
    @ariba002 5 років тому +1

    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 ?

    • @dillon1977
      @dillon1977 5 років тому

      stackoverflow.com/questions/31711093/the-program-cant-start-because-opencv-world300-dll-is-missing-from-your-comput

  • @mysteriouslymysteriousmyst9139
    @mysteriouslymysteriousmyst9139 6 років тому

    I'm getting "undefined reference to cv::aruca::getPredefined..." error

  • @ilanaizelman3993
    @ilanaizelman3993 3 роки тому

    Why did you stop making these awesome videos? I'd love to see more videos George :)

    • @GeorgeLecakes
      @GeorgeLecakes  3 роки тому +1

      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.

    • @ilanaizelman3993
      @ilanaizelman3993 3 роки тому

      @@GeorgeLecakes I see, Is the code available somewhere?

  • @SuhailPrasathong
    @SuhailPrasathong 6 років тому

    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?

    • @ALEXANDERAZAKHAROV
      @ALEXANDERAZAKHAROV 5 років тому

      Have you solved this problem?

    • @griphead1227
      @griphead1227 5 років тому

      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

    • @griphead1227
      @griphead1227 5 років тому

      Not only ones shown in the video but all of them from lib folder

  • @benedictfaustino5705
    @benedictfaustino5705 5 років тому

    can this be implemented in android?

  • @Darvillo
    @Darvillo 6 років тому

    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?

    • @GeorgeLecakes
      @GeorgeLecakes  6 років тому

      +Simon Darville any code you can share?

    • @Darvillo
      @Darvillo 6 років тому

      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.

  • @muhammadsarimmehdi
    @muhammadsarimmehdi 5 років тому

    I don't have aruco markers library, how do I install it with my opencv?

    • @GeorgeLecakes
      @GeorgeLecakes  5 років тому +1

      See previous video on building opencv with contribute libraries

    • @muhammadsarimmehdi
      @muhammadsarimmehdi 5 років тому

      @@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

    • @GeorgeLecakes
      @GeorgeLecakes  5 років тому +1

      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.

  • @gabrielfortin2150
    @gabrielfortin2150 3 роки тому

    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.

    • @GeorgeLecakes
      @GeorgeLecakes  3 роки тому

      Its in the previous video. Check the playlist.

  • @eylulmood4830
    @eylulmood4830 6 років тому

    I couldn't use imwrite I got cv::Exception at memory location :/

    • @kreuzbandit1850
      @kreuzbandit1850 5 років тому

      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

  • @benedictfaustino5705
    @benedictfaustino5705 5 років тому

    im having an error saying "identifier ""imwrite is undefined" can someone pls help me.

    • @GeorgeLecakes
      @GeorgeLecakes  5 років тому

      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?

  • @anarchytr
    @anarchytr 4 роки тому

    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

    • @GeorgeLecakes
      @GeorgeLecakes  4 роки тому

      Go watch the previous video where i show you how.

  • @tonysang3660
    @tonysang3660 4 роки тому

    Hi George I had an error saying opencv_aruco420d.dll was not found what should I do?

    • @GeorgeLecakes
      @GeorgeLecakes  4 роки тому

      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?

    • @tonysang3660
      @tonysang3660 4 роки тому

      @@GeorgeLecakes I copied the .dll files to the project folder and it works now. Thank you so much!

    • @quanglee1715
      @quanglee1715 4 роки тому

      @@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

    • @tonysang3660
      @tonysang3660 4 роки тому

      watch George's tutorial on build your own openCV with Cmake. The aruco stuff is in the contribute repository github.com/opencv/opencv_contrib