Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OpenCV and EasyOpenCV

What is OpenCV?

OpenCV is known as a library containing multiple programming functions that are aimed at real-time computer vision.

The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms.

These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, find similar images from an image database, remove red eyes from images taken using flash, follow eye movements, recognize scenery and establish markers to overlay it with augmented reality, and more.

OpenCV used for detecting the 2019-2020 season’s stones and skystones

So… How do I integrate it to FTC?

The folks from OpenFTC built a library to handle exactly this, wrapping the underlying complexities behind a clean API.

EasyOpenCV integrates OpenCV into the FTC SDK in a straightforward way, bundling the full OpenCV Java library alongside interfaces for accessing internal phone cameras or external webcams and feeding their images into your pipeline.

The EasyOpenCV repo includes examples for both internal camera and webcam usage.

This article was last modified...

On 2026-05-07 23:10:31 -06:00
By Sebastian Erives
See it here: 08db7ff339abde0b109efab8cb1225fc35b60156