Update functions description (#18050)
This commit is contained in:
parent
28f116682f
commit
1618c69d13
2 changed files with 9 additions and 10 deletions
|
|
@ -27,10 +27,13 @@ class QueueManager(BaseSolution):
|
|||
display_output: Displays the processed output.
|
||||
|
||||
Examples:
|
||||
>>> queue_manager = QueueManager(source="video.mp4", region=[100, 100, 200, 200, 300, 300])
|
||||
>>> for frame in video_stream:
|
||||
... processed_frame = queue_manager.process_queue(frame)
|
||||
... cv2.imshow("Queue Management", processed_frame)
|
||||
>>> cap = cv2.VideoCapture("Path/to/video/file.mp4")
|
||||
>>> queue_manager = QueueManager(region=[100, 100, 200, 200, 300, 300])
|
||||
>>> while cap.isOpened():
|
||||
>>> success, im0 = cap.read()
|
||||
>>> if not success:
|
||||
>>> break
|
||||
>>> out = queue.process_queue(im0)
|
||||
"""
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue