Install-OpenCV | shell scripts to install different version

 by   jayrambhia Shell Version: Current License: No License

kandi X-RAY | Install-OpenCV Summary

kandi X-RAY | Install-OpenCV Summary

Install-OpenCV is a Shell library typically used in OpenCV, Ubuntu, Debian applications. Install-OpenCV has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

shell scripts to install different version of OpenCV in different distributions of Linux.

            kandi-support Support

              Install-OpenCV has a medium active ecosystem.
              It has 1034 star(s) with 958 fork(s). There are 67 watchers for this library.
              It had no major release in the last 6 months.
              There are 24 open issues and 10 have been closed. On average issues are closed in 406 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Install-OpenCV is current.

            kandi-Quality Quality

              Install-OpenCV has 0 bugs and 0 code smells.

            kandi-Security Security

              Install-OpenCV has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Install-OpenCV code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Install-OpenCV does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              Install-OpenCV 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 Install-OpenCV
            Get all kandi verified functions for this library.

            Install-OpenCV Key Features

            No Key Features are available at this moment for Install-OpenCV.

            Install-OpenCV Examples and Code Snippets

            No Code Snippets are available at this moment for Install-OpenCV.

            Community Discussions


            Conflict between OpenCV 4 and cv_bridge in ROS Node
            Asked 2021-Dec-02 at 14:19

            I'm starting a project with OpenCV with ROS and i need to use xfeatures2d that is in opencv_contrib. I follow this instructions and modify my CMake File in this way:



            Answered 2021-Dec-02 at 14:19

            I found a solution in Github:

            In catkin_ws/src:



            Unable to display image opencv (c++)
            Asked 2021-Oct-18 at 14:08

            I finally managed to build the opencv4.5.4 library from source but now I'm facing errors that I'm unable to fix.

            I'm using this medium article as my guide

            When I try to execute a simple program that prints the version of opencv installed, it executes without errors.



            Answered 2021-Oct-17 at 13:37

            The error is not related to the image per se, its possibly an unitialized variable passed to a memory allocation routine.

            what(): OpenCV(4.5.4-dev) /home/username/opencv/modules/core/src/alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 112126257730176 bytes in function 'OutOfMemoryError'

            Put a break point in alloc.cpp to figure out who is requesting allocate 112126257730176 bytes



            ImportError: cannot open shared object file: No such file or directory
            Asked 2021-Sep-14 at 08:14

            This question has been asked many times here. but I tried all the answers so far but nothing worked. this is the code I am trying to run.



            Answered 2021-Sep-14 at 08:14

            Basically as you said you tried installing opencv for c++ and after getting errors you came back... Try removing opencv completely from your system This resource may help. Afterwards install opencv using pip. You can install opencv in a virtual environment to keep both libraries aside. If you have such a usecase.



            Error in ceres when trying to install opencv-python on Mac m1
            Asked 2021-May-13 at 10:10

            I am trying to install opencv-python on the Mac m1.

            I have followed the instructions here:


            However I am getting an error in a c++ library when running the make -j8 command:



            Answered 2021-May-13 at 10:10

            I think the error was in the CMakeLists.txt in the opencv repo.

            I had to edit this file and set(CMAKE_CXX_STANDARD 14) to get it to work



            install opencv on centos for java
            Asked 2021-Jan-18 at 09:37

            I'm trying to install opencv on my centos 8 server to be used by java program. I followed the instructions here. after configuring opencv, I get the following result:



            Answered 2021-Jan-18 at 09:37

            You need to install ANT and add it to the system path, which is used when building Java wrapper, and also set the OpenCV build_shared_libs = OFF, otherwise, the Java wrapper will not work.



            Get the contour (outline) from a png image with the correct edges
            Asked 2020-Oct-05 at 00:57

            I have multiple png files and I'm trying to get the polygon contour coordinates. That is the simplified coordinates, only each outer corner (not a convex hull polygon).

            The program that will do this at the moment is python and opencv. But another program is oke I did try to fix this using npm packages, imagemagick, potrace, Lua. It will be uses as a shell command in a 'build polygons from images' process.

            This was the last test under python.

            The problem now is the that some edges are 'not' correct in the example below.

            I did the following steps

            • Convert the alpha to black and white
            • Trace the contour
            • Get the coordinates
            1. The original png file contains black lines (keep them).

            1. Converted black and white image (you can't see the top line, because this website have a white background)


            Answered 2020-Oct-05 at 00:57
            Desired Output: Vector Graphic

            The points, lines, and curves in a vector graph may be scaled up or down to any resolution with no aliasing. As such you will not see the broken corners. Suppose the output is a vector graph in SVG format. The corners can be visualized nicely by converting each contour to an SVG polygon. You may refer to here for three choices to render the corners. I also add a function add_pixel_fillers to adjust close enough points.



            (OpenCV4.1) /usr/bin/ld: cannot find -lopencv_nonfree
            Asked 2020-Sep-15 at 21:41

            I installed OpenCV 4.1 following this on my Raspberry Pi 3B. I compiled OpenCV with these CMake flags:



            Answered 2020-Sep-15 at 15:26

            opencv_nonfree no longer exist in openCV 4.1. If you remove opencv_nonfree from target_link_libraries it should work.

            FYI, they are now directly integrated into modules/xfeatures2d/ from opencv_contrib. With your flag OPENCV_ENABLE_NONFREE=ON they should be available.



            Unresolved symbol using aruco with opencv4
            Asked 2020-Jun-25 at 20:31

            I am trying to use the camera pose from opencv. So I'm following this series of tutorial which leads me to include these :



            Answered 2020-Jun-23 at 19:09

            This is happening because you've downloaded a version of the aruco module that is not compatible with your current version of the OpenCV library. The best way to solve it is to compile OpenCV specifying that you want to add the opencv_contrib libraries. To avoid problems let's use the same versions for OpenCV contrib and OpenCV: for example 4.3.0.

            First, download OpenCV 4.3.0 source code.

            Second, download OpenCV Contrib 4.3.0 source code.

            If you have downloaded them as a ZIP, then unpack them into two different folders.

            Then you will need CMake, download and configure it for Windows (Maybe this link could be helpful).

            To compile OpenCV with OpenCV contrib you will need to use CMake with this command:



            Set target java version when build OpenCV with brew
            Asked 2020-Jun-13 at 07:42

            I'm using brew to build OpenCV with java support following this tutorial. After built successful I got the error class file has wrong version 57.0, should be 52.0 when using. I'm using OpenJDK 8, how can I target the build to this version. Thank you.



            Answered 2020-Jun-13 at 07:42

            Found the answer, put the extra -DOPENCV_JAVA_TARGET_VERSION=1.8 args to cmake in brew formula.



            Python SSL module is not available on mac?
            Asked 2020-Jan-18 at 10:47

            Ok, I needed opencv 4 installed on my mac, so I followed and got opencv installed and the virtual environment cv set up.

            I'm running Python 3.7.3. Since setting this up, I am unable to install any packages due to SSL problems. Trying pip install spell after workon cv -



            Answered 2020-Jan-18 at 10:47

            You may have both Python2.7 and Python3 on your system. Try


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


            No vulnerabilities reported

            Install Install-OpenCV

            You can download it from GitHub.


            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
          • HTTPS


          • CLI

            gh repo clone jayrambhia/Install-OpenCV

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Shell Libraries


            by sindresorhus


            by ohmyzsh


            by gothinkster


            by nvm-sh


            by papers-we-love

            Try Top Libraries by jayrambhia


            by jayrambhiaJava


            by jayrambhiaJava


            by jayrambhiaPython


            by jayrambhiaC++


            by jayrambhiaPython