fixed vision documentation
This commit is contained in:
parent
dfb66d5383
commit
c70edd4166
1 changed files with 18 additions and 16 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Reference in a new issue