This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import libjevois as jevois | |
import cv2 | |
import numpy as np | |
## Simple example of image processing using OpenCV in Python on JeVois | |
# | |
# This module is a basic FRC vision process. | |
# | |
# By default, it first gets an image, blurs it, extracts the green channel, thresholds that, and uses the threshold to place | |
# a mask over the initial image. It then runs an HSV filter on the masked image, erodes and dilates the result, and finally |