Skip to content

A tool for quickly prototyping computer vision filters and operations using OpenCV/GoCV.

License

Notifications You must be signed in to change notification settings

ryeguard/cvpipe

Repository files navigation

cvpipe

cvpipe is a tool for quickly prototyping computer vision filters and operations using OpenCV/GoCV.

Getting Started

Build and run the docker image to quickly get started:

docker build -t cvpipe .
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:

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 directory.

About

A tool for quickly prototyping computer vision filters and operations using OpenCV/GoCV.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published