fixed vision documentation

This commit is contained in:
Joel 2021-01-26 20:36:40 +01:00
parent dfb66d5383
commit c70edd4166
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E

View file

@ -32,6 +32,7 @@ Using the Vision Module
import cv2 import cv2
from compLib import Vision from compLib import Vision
while True:
# get newest opencv frame from camera # get newest opencv frame from camera
frame = Vision.Streaming.get_frame() frame = Vision.Streaming.get_frame()
@ -68,6 +69,7 @@ For testing you can point it at this image:
import cv2 import cv2
from compLib import Vision from compLib import Vision
while True:
# get newest opencv frame from camera # get newest opencv frame from camera
frame = Vision.Streaming.get_frame() frame = Vision.Streaming.get_frame()