LogoLogo
v2.0.0
v2.0.0
  • Welcome
  • Installation
  • Features
    • Hardware
      • Motors
    • Gamepad
    • Drivebases
    • Geometry
    • Controllers
    • Utility Functions
  • Vision
    • Setting Up Vision
    • Ring Stack Detection
    • High Goal Detection
  • Kinematics
    • Odometry
    • WPILib Kinematics
      • Differential Drive Kinematics
      • Differential Drive Odometry
      • Swerve Drive Kinematics
      • Swerve Drive Odometry
      • Mecanum Drive Kinematics
      • Mecanum Drive Odometry
  • Pathing
    • Pure Pursuit
    • Trajectory
      • Trajectory Generation
      • Trajectory Constraints
      • Manipulating Trajectories
      • Transforming Trajectories
      • Ramsete Controller
  • Command Base
    • Command System
      • Subsystems
      • Command
      • Command Groups
      • Command Scheduler
      • Binding Commands to Triggers
      • Robot and CommandOpMode
      • Convenience Features
    • Old Commands
  • Support FTCLib
  • Additional Reading
Powered by GitBook
On this page

Was this helpful?

  1. Vision

Setting Up Vision

package com.arcrobotics.ftclib.vision

PreviousUtility FunctionsNextRing Stack Detection

Last updated 3 years ago

Was this helpful?

Computer Vision is the process of helping computers to understand the digital images such as photographs and videos provided to them. FTCLib provides examples on the object detection needed for the current season (right now being Ultimate Goal detection) using the .

Installation Requirements

Since FTCLib depends on EasyOpenCV for vision, and because EasyOpenCV depends on , you will need to copy into the FIRST folder of the Robot Controller (i.e. connect the Robot Controller to your computer with a USB cable, put it into MTP mode, and drag 'n drop the file)

Due to 64 bits vs 32 bits conflicts, after moving the so file, please remove any instance of arm64-v8a in build.common.gradle. EasyOpenCV runs in 32 bits while some phones and the Control Hub are 64 bit. For more details, please refer to the .

Due to breaking changes in SDK version 7.0, EasyOpenCV version 1.5.0 is required to maintain compatibility. Because 7.0 will be the minimum SDK requirement in competition, the FTCLib team will not support SDK below version 7.0.

EasyOpenCV library
OpenCV-Repackaged
libOpenCvAndroid453.so
installation page