Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryeguard/cvpipe
A tool for quickly prototyping computer vision filters and operations using OpenCV/GoCV.
https://github.com/ryeguard/cvpipe
gocv opencv
Last synced: 11 days ago
JSON representation
A tool for quickly prototyping computer vision filters and operations using OpenCV/GoCV.
- Host: GitHub
- URL: https://github.com/ryeguard/cvpipe
- Owner: ryeguard
- License: mit
- Created: 2024-01-31T22:03:39.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T15:03:21.000Z (about 1 month ago)
- Last Synced: 2024-10-19T21:31:41.732Z (28 days ago)
- Topics: gocv, opencv
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cvpipe
`cvpipe` is a tool for quickly prototyping computer vision filters and operations using [OpenCV](https://opencv.org/)/[GoCV](https://gocv.io/).
## Getting Started
Build and run the docker image to quickly get started:
```bash
docker build -t cvpipe .
``````bash
docker run -it --rm \
--mount type=bind,source="$(pwd)/data",target=/go/src/cvpipe/data \
-t cvpipe
```## Usage
The `cvpipe` package provides a simple API for chaining together OpenCV operations in Go. The following pseudo-code demonstrates the intention of the package:
```go
pipe := NewPipe()
defer pipe.Close()result := pipe.
Add(ResizeOperation(0.5)).
Add(BlurOperation(5)).
Add(ThresholdOperation(127)).
Run(image)
defer result.Close()// Do something with the result
```For up-to-date, working/running examples, see the [cmd](./cmd) directory.