Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ CLASSES = [
|
|
21 |
]
|
22 |
|
23 |
# Initialize the OpenCV DNN network
|
24 |
-
net = cv2.dnn.readNetFromTensorflow(model_path
|
25 |
|
26 |
# Function to process the video frame and detect objects
|
27 |
def detect_objects_in_frame(frame):
|
|
|
21 |
]
|
22 |
|
23 |
# Initialize the OpenCV DNN network
|
24 |
+
net = cv2.dnn.readNetFromTensorflow(config_path,model_path)
|
25 |
|
26 |
# Function to process the video frame and detect objects
|
27 |
def detect_objects_in_frame(frame):
|