import cv2 import time from lib.yolo2020 import Yolo def detect(self): results = net.detect(frame, 0.6) print(results) class Streamer: def __init__(self,