aruco | Easy-to-use C library for detection of squared planar | Computer Vision library

 by   softbankrobotics-research C++ Version: Current License: Non-SPDX

kandi X-RAY | aruco Summary

kandi X-RAY | aruco Summary

aruco is a C++ library typically used in Artificial Intelligence, Computer Vision, OpenCV applications. aruco has no bugs, it has no vulnerabilities and it has low support. However aruco has a Non-SPDX License. You can download it from GitHub.

The library allows to detect squared planar markers in images. A marker is a squared element with a black border and a inner binary code inside. The set of valid codes is called dictionary. Several libraries have been proposed, and each one usually includes its own dictionary of valid markers. This version of Aruco allows to use the most famous dictionaries: ARUCO,APRILTAGS,ARTAG and ARTOOLKIT+. The library allows to estimate the pose of a camera from one or many markers. In any case, we strongly recommend to use our dictionary ARUCO_MIP_36h12, which in our opinion, is the one that has the best trade-off between size and robustness. See for more information on dictionary generation. The library also allows to use marker maps. A marker map is a set of markers placed in the environment whose location w.r.t. each other does not change. The simplest marker map supported by the library is a set of markers printed in a piece of paper. Localization in more robust since the misdetection of several markers of the map is not a problem as long as a minimum set of them are detected. Additionally, marker maps can also extend to much larger environments. Imagine you place markers in a room and you want to locate using them. Now, aruco allows you to do so using the brother library aruco_markermapper. For additional information to this README file, please visit our web page :
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aruco has a low active ecosystem.
              It has 8 star(s) with 1 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              aruco has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of aruco is current.

            kandi-Quality Quality

              aruco has no bugs reported.

            kandi-Security Security

              aruco has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              aruco has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              aruco releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aruco
            Get all kandi verified functions for this library.

            aruco Key Features

            No Key Features are available at this moment for aruco.

            aruco Examples and Code Snippets

            No Code Snippets are available at this moment for aruco.

            Community Discussions

            QUESTION

            is there any way to pass existing label to another class to make it blink
            Asked 2021-Apr-22 at 09:03
            • I have some labels which I want to make them blink in some cases, and stop blinking with specific color for their styleSheet on other cases.
            • I have seen this useful answer, and adapted this part from the answer:
            ...

            ANSWER

            Answered 2021-Apr-22 at 09:03

            Thanks to @eyllanesc and @musicamante for their valuable notes the solution was:

            Source https://stackoverflow.com/questions/67192260

            QUESTION

            OpenCV for Android self-compiled library 10x larger than official built
            Asked 2021-Mar-23 at 12:28

            I try to build the OpenCV 4.5.1 SDK for Android because I need the SDK with contrib modules and the official release [1] only has the standard modules. But the libraries I build are almost 10x larger, for example: libopencv_core.a ==> 47.6 MB self compiled, 5.3 MB from the official repository (both for arm64-v8a)

            Here is my cmake command, followed by ninja for compilation.

            ...

            ANSWER

            Answered 2021-Mar-23 at 12:28

            QUESTION

            How to achieve more stability in OpenCV 4.1.1 Aruco marker detection?
            Asked 2021-Mar-21 at 21:28

            I am experimenting with the Aruco detection in a video.

            I am trying to detect Aruco markers in the video frames but the detector fails to get all of them. It is a stable image, so no movement is going on in the video.

            I was unable to get it working with the default detector parameters so I experimented a little bit to get the best results.

            In the standard output and on the display I can see that the detector is failing to get every marker on every frame, but I don't know how to achieve better detection rates.

            Here is my python code for it:

            ...

            ANSWER

            Answered 2021-Mar-21 at 21:28

            The markers were too thick, and tha camera have seen the side faces. The algorithm probably didn't recognize the black square-like margin. I made the markers thinner so the aruco detection is now more robust. Maybe a little white margin can make the markers recognizable. I leave my question here so anyone can learn from it. I have uploaded the new video to my github.

            Source https://stackoverflow.com/questions/66732766

            QUESTION

            Python OpenCV calibrateCamera: objectPoints should contain vector of vectors of points of type Point3f
            Asked 2021-Mar-19 at 15:02

            I want to calculate the camera calibration parameters from the picture coordinates and object coordinates of some coded markers.

            ...

            ANSWER

            Answered 2021-Mar-19 at 15:02

            Well the answer is quite simple:

            Source https://stackoverflow.com/questions/66614061

            QUESTION

            Compiling OpenCV for Android with SFM module using MinGW on Windows
            Asked 2021-Jan-24 at 21:16

            I am trying to compile OpenCV for Android with contrib modules, mainly I am interested in sfm. I did a lot of research and finaly I did the following in order to support sfm:

            Compiled gflags Compiled Glog Compiled Ceres

            After that I used this cmake command to build and generate (partial output is given below):

            ...

            ANSWER

            Answered 2021-Jan-24 at 21:16

            I just finished build opencv with android using this :

            for ceres

            Source https://stackoverflow.com/questions/65672568

            QUESTION

            OpenCV aruco detection fails on estimatePoseBoard()
            Asked 2021-Jan-21 at 21:39

            I'm trying to detect a 3x3 Aruco board.

            The code runs until the params on line 33 are met, then line 35 throws the same error regardless of how many markers are in frame (i.e. between 1 and all 9)

            The output is

            ...

            ANSWER

            Answered 2021-Jan-21 at 21:39

            Solved, if anyone else runs into this issue:

            Source https://stackoverflow.com/questions/65834851

            QUESTION

            How can I load an Image using Opencv and pass it to Unity (through a C++ dll)?
            Asked 2020-Dec-10 at 13:55
            CONTEXT I am currently using opencv to detect some pattern in a video feed and send that information to a Unity game. I have found Aruco, a opencv module and both ArucoUnity and ArucoUnityPlugin. But it doesn't fit my requirements so I am currently remaking a simpler version (e.i. making a dll using opencv as a lib and importing its function in Unity). ISSUE While with simple parameters (int, string) and manage to get the values back, I am struggling to load images into Mat (through the imread function) and getting the Mat back in C#. I can create a empty Mat() using new Mat() and get it back into C#, I can load my imagetest into a Mat, but when I try to put it into the Mat that I return, the application crashes. CODE C++

            mat.hpp (part of)

            ...

            ANSWER

            Answered 2020-Dec-10 at 13:55

            I found the cause of the crash which was later on when I wanted to get the values which I casted as the wrong type of values (Vecd instead of the correct Vec3b). Additionally, I was also not using "new cv::Mat()" when testing and that cause the Mat to be discarded by the C++ (and the C# pointing to random stuff).

            For anyone that would like to do something similare here is my code (even if it' is heavily inspired by ArucoUnity/ArucoUnityPlugin by NormandErwan).

            C++ With the following somewhere (for me it was in PatternRecognition.hpp)

            Source https://stackoverflow.com/questions/65195636

            QUESTION

            OpenCV VideoCapture() doesn't work - Ubuntu
            Asked 2020-Nov-27 at 06:41

            OpenCV 4.5 - Ubuntu - Jetson Nano 2GB

            Hello I have a problem with getting video from my webcam (connected by USB to JetsonNano) by OpenCV

            Here's my code:

            ...

            ANSWER

            Answered 2020-Nov-27 at 06:41

            For points 1 and 2, you can test by passing the second argument to VideoCapture(filename[, apiPreference]). Since you have OpenCV built with ffmpeg and v4l2. I would try the following options cv::CAP_FFMPEG, and CAP_V4L2. For point 4, make sure your webcam is 1080p.

            Source https://stackoverflow.com/questions/65010313

            QUESTION

            Unity3D & OpenCV using a custom camera (AruCo)
            Asked 2020-Aug-11 at 22:27

            I have been trying to perform AruCo or Marker detection in unity using a customer camera that can provide a texture, this is not a regular camera so you cant use the regular webcamtexture that comes with the package, i have been trying everything that i can imagine but it just dont work for me. I have tested so many things so ill post my code for AruCo and maybe someone can help me fix this, the code dont show any errors but it also doesnt detect anything or at minimum i was expecting the rejected corners to be detected.

            ...

            ANSWER

            Answered 2020-Aug-11 at 22:27

            The problem with the code was that the images were coming as Alpha8 texture and OpenCV works with RGB texture, so when i was converting to RGB the A part was been strip from the image which was pretty much the only content in it.

            The solution was posted on this other thread: Solution to change format from Alpha8 to RGBA texture.

            Source https://stackoverflow.com/questions/63203658

            QUESTION

            Error : java.lang.UnsatisfiedLinkError with Charuco Camera Calibration (DetectorParameters)
            Asked 2020-Jul-23 at 15:07

            Good morning everyone. I am currently working on a project in which I have to detect object coordinates within an image with high precision. I have tried using a normal chessboard for camera calibration but the reprojection error was too high so I decided to use the Charuco calibration pattern. I am working with OpenCv 3.4 and Java (project constraint). Since the Aruco function are not included in OpenCv for Java I created a new package in my project which includes the necessary classes. The Aruco code is the one that you can find in the following link : Aruco Code Github

            The code that I'm executing is the following:

            ...

            ANSWER

            Answered 2020-Jul-23 at 15:07

            The error indicates that you have opencv package without special module you're using;

            In order to fix that you'd need to either find a prebuilt opencv with module you need (in your exactly case it's lcoated in contrib library, so this probably helps.

            In case you want to build it from sources - you should enable the module you want in cmake properties. For contrib - you'd need to cmake contrib project first & then enable contrib in main opencv makefile. For building opencv & contirb - please follow official documentation.

            Source https://stackoverflow.com/questions/63031705

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aruco

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/softbankrobotics-research/aruco.git

          • CLI

            gh repo clone softbankrobotics-research/aruco

          • sshUrl

            git@github.com:softbankrobotics-research/aruco.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Computer Vision Libraries

            opencv

            by opencv

            tesseract

            by tesseract-ocr

            face_recognition

            by ageitgey

            tesseract.js

            by naptha

            Detectron

            by facebookresearch

            Try Top Libraries by softbankrobotics-research

            qibullet

            by softbankrobotics-researchPython

            qi_gym

            by softbankrobotics-researchPython

            qi-gym

            by softbankrobotics-researchPython

            dmpbbo

            by softbankrobotics-researchC++