sagarpanchal / opencv-build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenCV: Open Source Computer Vision Library

For Java build

  • OpenJDK must be installed
  • JAVA_HOME must be in the environment
    • For macOS add export JAVA_HOME=$(/usr/libexec/java_home) to ~/.profile or shell config file
  • Make sure DBUILD_opencv_java flag in the build.sh is ON
  • Follow the build instructions

For Python build

  • Python must be installed
  • Make sure python is in PATH
  • Make sure DBUILD_opencv_python2 or DBUILD_opencv_python3 flag in the build.sh is ON
  • Make sure DPYTHON3_EXECUTABLE param in the build.sh is pointing to python3 executable is DBUILD_opencv_python3 is ON
  • Follow the build instructions

How to build

  • Run install-deps-mac or install-deps-ubuntu depending on your platform.
  • run ./build.sh in root.

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.

About

License:Apache License 2.0


Languages

Language:C++ 87.0%Language:Cuda 3.2%Language:C 2.6%Language:Python 2.2%Language:CMake 1.7%Language:Java 1.2%Language:Objective-C++ 0.6%Language:Swift 0.5%Language:JavaScript 0.4%Language:Objective-C 0.2%Language:TeX 0.1%Language:Shell 0.1%Language:HTML 0.1%Language:Julia 0.0%Language:MATLAB 0.0%Language:Jupyter Notebook 0.0%Language:Perl 0.0%Language:PowerShell 0.0%Language:Kotlin 0.0%Language:AIDL 0.0%Language:Batchfile 0.0%Language:Prolog 0.0%Language:Dockerfile 0.0%