BrushCue
← All Alternatives

OpenCV alternative

OpenCV is the standard open-source computer vision library. BrushCue is a GPU image-editing library for creative effects, color, and compositing.

Use OpenCV if…

  • You're doing computer vision: detection, tracking, calibration, feature matching
  • You process real-time video or camera streams
  • You want to work directly with NumPy arrays and the wider ML ecosystem

Use BrushCue if…

  • You want ready-made creative effects (halftone, swirl, film grain, color grades) instead of writing them
  • You want color-managed, linear-light editing on the GPU
  • You want to try each effect in a browser tool before writing code

At a glance

OpenCVBrushCue
Installpip install opencv-pythonpip install brushcue
Runs onCPU, with optional accelerated backendsOn the GPU (Vulkan, Metal, or DirectX via wgpu)
Built forComputer vision and image processingCreative editing: effects, color grading, compositing, custom shaders
ColorWorks on raw pixel arrays (BGR by default)Color-managed pipeline (ICC profiles, sRGB, Display P3, ACEScg, OkLab), linear-light blending
Try it visuallyWrite code, then view results in your own viewerEvery effect also has a free browser tool, so you can try a look before you code it

OpenCV details last checked November 16, 2026 from OpenCV on GitHub. Plans and features change, so check OpenCV's site for the latest.

Where OpenCV shines

OpenCV is the standard open-source computer vision library, licensed under Apache 2.0. It covers detection, tracking, camera calibration, feature matching, video I/O, and a large set of image processing functions, and its Python bindings work directly with NumPy arrays. For real-time video or anything in the computer vision and machine learning world, it's the natural choice.

Do it with BrushCue

BrushCue is built for a different job: creative image editing. Its effects come ready-made, run on the GPU, and blend in linear light with color management. For a simple operation, the two look similar:

OpenCV

import cv2

image = cv2.imread("photo.jpg")
blurred = cv2.GaussianBlur(image, (0, 0), 8)
cv2.imwrite("photo-blurred.png", blurred)

BrushCue (Python)

import brushcue as bc

ctx = bc.Context()
image = bc.Composition.load("photo.jpg")
# Gaussian blur with a sigma of 8 pixels
edited = image.gaussian_blur(8.0)
result = edited.execute(ctx)
with open("photo-edited.png", "wb") as f:
    f.write(result.to_image_bytes(ctx))

For a single blur, OpenCV is just as short, and it's a great fit when the result feeds into vision code. The difference shows with creative effects: BrushCue ships halftones, swirls, film grain, and color grades as single calls, where in OpenCV you'd write the pixel math yourself.

BrushCue Script (bcue)

image = Composition::from_path("photo.jpg")
edited = image.gaussian_blur(8.0)
Bytes::save_to_path(Image::to_bytes(Composition::render_to_image(edited)), "photo-edited.png")

OpenCV tools and their BrushCue equivalents

In OpenCVIn BrushCue
cv2.GaussianBlurGaussian Blur
cv2.blur / cv2.boxFilterBox Blur
cv2.medianBlurMedian Filter
cv2.SobelSobel Edge Detection
cv2.dilateDilate
cv2.erodeErode
cv2.thresholdColor Threshold, Lightness Threshold
cv2.cvtColor (to gray)Grayscale
cv2.bitwise_notColor Invert
cv2.equalizeHistAuto Contrast
cv2.LUT (gamma)Gamma Adjust
cv2.splitRed Channel, Green Channel, Blue Channel
cv2.kmeans (color quantization)Color Reducer, Image to Palette
cv2.resizeImage Resizer, Scale by Factor
cv2.flipHorizontal Mirror, Vertical Mirror
cv2.rotate / cv2.warpAffineRotate 90° Clockwise, Rotate & Straighten, Linear Transform
cv2.remap (custom distortions)Swirl, Fisheye, Pinch Image, Liquify
cv2.filter2D (custom kernels)Custom Spacial Shader, Emboss
cv2.addWeightedOpacity Scale
cv2.resize down and up (mosaic)Pixelate

Popular picks

Automate any BrushCue effect

Every BrushCue tool is built from the same engine you can call from code. Find a look in the browser, then run it on a whole folder with the Python library, or as a BrushCue Script file with the bcue command-line tool. Both run locally on your GPU.

Python (macOS, Linux, Windows)

pip install brushcue

bcue on Windows

winget install DitoTechnologies.BCue

bcue on Linux

sudo snap install bcue

bcue on macOS (Apple Silicon)

brew install ditotechnologies/tap/bcue

FAQ

Should I use OpenCV or BrushCue?
Use OpenCV for computer vision and real-time video. Use BrushCue when you want creative, color-managed edits and effects without implementing them yourself.
Is the BrushCue Python library free?
Yes. Install it with pip install brushcue. Wheels are available for macOS (Apple Silicon), Linux (x86_64 and arm64), and Windows (x86_64), for Python 3.11 and newer.
Can I try BrushCue effects before writing code?
Yes. Every effect is also available as a free browser tool at brushcue.com/tools, so you can find the look you want, then reproduce it in Python or BrushCue Script.
What is bcue?
bcue is BrushCue's command-line tool. It runs BrushCue Script (.bcue) files locally. Install it with winget on Windows, snap on Linux, or Homebrew on Apple Silicon Macs.

Other comparisons

BrushCue is not affiliated with OpenCV. Product names are trademarks of their respective owners.