OpenJDK
must be installedJAVA_HOME
must be in the environment- For macOS add
export JAVA_HOME=$(/usr/libexec/java_home)
to~/.profile
or shell config file
- For macOS add
- Make sure
DBUILD_opencv_java
flag in thebuild.sh
isON
- Follow the build instructions
- Python must be installed
- Make sure python is in
PATH
- Make sure
DBUILD_opencv_python2
orDBUILD_opencv_python3
flag in thebuild.sh
isON
- Make sure
DPYTHON3_EXECUTABLE
param in thebuild.sh
is pointing topython3
executable isDBUILD_opencv_python3
isON
- Follow the build instructions
- Run
install-deps-mac
orinstall-deps-ubuntu
depending on your platform. - run
./build.sh
in root.
- Homepage: https://opencv.org
- Courses: https://opencv.org/courses
- Docs: https://docs.opencv.org/4.x/
- Q&A forum: https://forum.opencv.org
- previous forum (read only): http://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
- Additional OpenCV functionality: https://github.com/opencv/opencv_contrib
Please read the contribution guidelines before starting work on a pull request.
- 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.