Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shimat/opencv_files
Build OpenCV
https://github.com/shimat/opencv_files
Last synced: 8 days ago
JSON representation
Build OpenCV
- Host: GitHub
- URL: https://github.com/shimat/opencv_files
- Owner: shimat
- License: apache-2.0
- Created: 2018-12-01T13:42:53.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T22:48:38.000Z (about 1 month ago)
- Last Synced: 2024-10-19T18:43:14.268Z (20 days ago)
- Language: PowerShell
- Size: 77.1 KB
- Stars: 20
- Watchers: 4
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opencv_files
OpenCV Windows binaries for [opencvsharp](https://github.com/shimat/opencvsharp)
![Windows Server 2022](https://github.com/shimat/opencv_files/workflows/Windows%20Server%202022/badge.svg)
## Requirements
- [CMake](https://cmake.org/)
- [vcpkg](https://github.com/shimat/vcpkg) (forked by shimat)
- For Tesseract dependency
- [Visual Studio 2022](https://visualstudio.microsoft.com/ja/vs/) (msbuild)
- VC++ features are necessary
Please add paths of your cmake and vcpkg executables to the `PATH` environment variable.## Build for Windows
- Clone
```
git clone --recursive https://github.com/shimat/opencv_files
# Or
git clone https://github.com/shimat/opencv_files
git submodule update --init --recursive
```
- Install Tesseract
```
vcpkg install tesseract:x64-windows-static
vcpkg install tesseract:x86-windows-static
```
- Run `build_windows.ps1`
- Open and build `build_win_[x64 or x86]/OpenCV.sln` by Visual Studio.You can change the target platform and the vcpkg path by editing the .ps1 file.
```
##### Change here #####
$vcpkgPath = "C:\Tools\vcpkg"
$platform = "x64"
#$platform = "x86"
```## Build for UWP
1. Clone the repository
1. Run `build_windows.ps1`
1. Open and build `build_win_x64/OpenCV.sln` by Visual Studio.## Release Packages
https://github.com/shimat/opencv_files/releasesThe release packages are built by the GitHub Actions workflow.