Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shimat/opencv_files

Build OpenCV
https://github.com/shimat/opencv_files

Last synced: 8 days ago
JSON representation

Build OpenCV

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/releases

The release packages are built by the GitHub Actions workflow.