Tech Toolbox
  • Please Visit https://ftc-tech-toolbox.vercel.app/ for the new tech toolbox!!
    • Introduction
    • Choosing an IDE
    • Creating an OpMode
    • Motors and Encoders
    • Servos
    • Gamepad Controls
    • Drive Systems
    • Lynx Modules
    • Telemetry
    • Wireless Download
    • The Sleep Command
  • Please Visit the New Link
    • Tank Drive / Skid Steer (Part 1)
    • Mecanum Drive (Part 1)
    • Turrets
    • Linear Slides
    • Kicker
    • Active Intake / Sweepers
    • Flywheels / Shooters
  • Please Visit the new Link
    • Base Class (Step 1)
    • Module Classes (Step 2)
    • OpMode Classes (Step 3)
  • This domain is now depreciated and is no longer updated!
  • This domain is now depreciated and is no longer updated!
    • What is Localization?
    • General Odometry Logic
    • Tank (No Deadwheels)
    • Mecanum (No Deadwheels)
    • Deadwheel Odometry (Mecanum and Tank)
    • VSLAM
  • This domain is now depreciated and is no longer updated!
    • What is Control Theory?
    • Custom PID Loops
    • Essential Control Theory Concepts
    • Resources for Learning Advanced Control Theory
  • This domain is now depreciated and is no longer updated! Please visit this domain for the new TT!
    • Introduction
    • Mecanum Drive (Part 2)
    • Tank Drive (Part 2)
    • Introduction to Pure Pursuit
    • Pure Pursuit: Mecanum
    • Pure Pursuit: Tank
    • Advanced Pure Pursuit
    • Guided Vector Fields
    • Autonomous Movement Libraries
  • Sensors
    • IMU
    • Color Sensors
      • Advanced Sensing Code
    • Distance Sensors
    • Touch Sensor
  • Computer Vision
    • Setting up Camera/Intro to Computer Vision Tools
      • Intro to OpenCV
      • Vuforia
    • Streaming Frames
    • Color Thresholding
    • April Tags
    • Linear Regression
    • Machine Learning Toolchain
    • Object Distance Estimation
    • Object Tracking / Driving to an Object
    • Computer Vision Simulators
  • Simulators
    • Beta8397 Simulator
    • VRS
  • Cool Codebases
Powered by GitBook
On this page
  • Setting up the Account
  • Creating a Video of the Object
  • Video Upload
  • Labeling Frames
  • Creating Dataset
  1. Computer Vision

Machine Learning Toolchain

Creating custom TensorFlow Detection Models

PreviousLinear RegressionNextObject Distance Estimation

Last updated 1 year ago

Resources

Setting up the Account

To utilize the FTC Machine Learning feature, you need to have an account and be paired with a team on the FTC site. Then you can go , to login to the ML toolchain.

Creating a Video of the Object

Your first step, is to create a video of the desired object. Due to the fact that there are many frames to analyze in a video, the FTC-ML Toolchain uses videos instead of images to recognize the image. Ideally, you should be using the camera used on your robot to take the videos from about the height that it will be on your robot, this ensures highest accuracy.

Video Upload

Now you need to upload your video to the ML software. On the FTC-ML dashboard, hit the upload video file, and select the video file from your computer. Wait some time, and the video will upload and the frames will be extracted and appear in the Contents Tab. After fully loading, the video description will become a link, click on the link to get the next step.

Labeling Frames

Now, you need to physically label the object in each frame of the video. However, the ML tools will automatically label sequential frames for you, however you must supervise. For information on all the controls and how to operate the labeling, look .

Creating Dataset

Click the checkbox that is next to the video and choose the amount of frames for training and testing. Usually in ML models in general, 80% are used for training and 20% are used for testing the accuracy. Then you need to configure some things for the training, all information that is needed after the creation of the dataset can be found .

FTC Machine Learning Docs
here
here
here