OpenCV Sample Projects in Rust
Resource
Setup
Windows
- Install LLVM
- https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/LLVM-13.0.0-win64.exe
- Add LLVM to the system Path while installing
- Download OpenCV
- https://github.com/opencv/opencv/releases/download/4.5.4/opencv-4.5.4-vc14_vc15.exe
- Extract to
C:/opencv
(If you use a different directory, change the commands in the next step)
- Set environment variables (Power Shell)
$env:Path+=";C:/opencv/build/x64/vc15/bin" $env:OPENCV_LINK_LIBS="opencv_world454" $env:OPENCV_LINK_PATHS="C:/opencv/build/x64/vc15/lib" $env:OPENCV_INCLUDE_PATHS="C:/opencv/build/include"
Linux
todo
Add crate
[dependencies]
opencv = "0.60"
Acknowledgements
- OpenCV
- https://github.com/opencv/opencv
- Licensed under the Apache License, Version 2.0
- Some images are copied from this project