Spaces:
Sleeping
Sleeping
updated comment for detections storing
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ LINE_SIZE = 2
|
|
57 |
# img_container["input"] - holds the input frame contents - of type np.ndarray
|
58 |
# img_container["analyzed"] - holds the analyzed frame with any added annotations - of type np.ndarray
|
59 |
# img_container["analysis_time"] - holds how long the analysis has taken in miliseconds
|
60 |
-
#
|
61 |
def analyze_frame(frame: np.ndarray):
|
62 |
start_time = time.time() # Start timing the analysis
|
63 |
img_container["input"] = frame # Store the input frame
|
|
|
57 |
# img_container["input"] - holds the input frame contents - of type np.ndarray
|
58 |
# img_container["analyzed"] - holds the analyzed frame with any added annotations - of type np.ndarray
|
59 |
# img_container["analysis_time"] - holds how long the analysis has taken in miliseconds
|
60 |
+
# img_container["detections"] - holds the analysis metadata results
|
61 |
def analyze_frame(frame: np.ndarray):
|
62 |
start_time = time.time() # Start timing the analysis
|
63 |
img_container["input"] = frame # Store the input frame
|