This is my python program where i have code to detect object live.
import cv2 import numpy as np def ob(): net = cv2.dnn.readNet(\'yolov4