deltacv
EOCV-Sim
EOCV-Sim
  • Welcome!
  • Downloading EOCV-Sim
  • Introduction
    • OpenCV and EasyOpenCV
    • EasyOpenCV Pipelines
      • Creating and Running a Pipeline
  • FTC Vision Portal
    • Introduction to VisionPortal
      • Creating and Running a VisionProcessor
      • OpModes in EOCV-Sim
      • Using VisionPortal within OpModes
    • Drawing annotations using Android Canvas
  • Workspaces
    • What are workspaces?
    • VS Code and IntelliJ IDEA
    • Android Studio
  • Features
    • Input Sources
    • Variable Tuner
    • Telemetry
  • Other
    • Building from Source
Powered by GitBook
On this page
  • What is OpenCV?
  • So... How do I integrate it to FTC?
Edit on GitHub
  1. Introduction

OpenCV and EasyOpenCV

PreviousDownloading EOCV-SimNextEasyOpenCV Pipelines

Last updated 6 months ago

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.

So... How do I integrate it to FTC?

The folks from OpenFTC developed a library to accomplish this in a very simple way, hiding the underlying complexities into a nice API.

is a library that integrates OpenCV into the FTC SDK in a straightforward manner, providing the complete OpenCV Java library, plus multiple interfaces that give ease of access to internal phone cameras, or external webcams, and to be able to easily feed images from the real world to your OpenCV algorithm.

of the EasyOpenCV API, for using the internal camera of a phone to take images and send them into an OpenCvPipeline algorithm, and it can .

EasyOpenCV
Here we have an example
easily be applied to a webcam too
OpenCV used for detecting the 2019-2020 season's stones and skystones