https://github.com/roguh/cv-composer
Command-line based computer vision algorithms showcase. Uses the OpenCV C++ library.
https://github.com/roguh/cv-composer
Last synced: 27 days ago
JSON representation
Command-line based computer vision algorithms showcase. Uses the OpenCV C++ library.
- Host: GitHub
- URL: https://github.com/roguh/cv-composer
- Owner: roguh
- Created: 2016-06-25T00:48:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-22T06:33:40.000Z (over 4 years ago)
- Last Synced: 2026-04-07T06:36:27.693Z (2 months ago)
- Language: C++
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Computer Vision Algorithms
## Installation
To download all files, run
```
git clone --recursive https://github.com/roguh/cv-composer
```
CMake and OpenCV are needed to compile this project.
On Ubuntu, these can be installed easily by running:
```
sudo apt install libopencv-dev cmake
```
On NixOS, you can use the `defaut.nix` file should install the complete development version of OpenCV.
```
nix-shell
```
### Compilation
```
cd build
cmake ..
make
```
## Help
Run the following to get a list of commands.
```
./composer --help
```
Run the Canny edge detector. Get help by running `./composer canny --help`
```
./composer --image image.png canny
```
See intermediate results while running the edge detector on input from the composer camera:
```
./composer --camera canny --show-intermediate
```
Calculate the convolution between an image `image.png` and a kernel.
Save results to a file.
```
./composer --no-gui --image image.png convolution --kernel sharpen
```
```
./composer --no-gui --image image.png convolution --polar-x scharr-west --polar-y scharr-north
```