Skip to content

Commit 0eeb520

Browse files
authored
Merge pull request #126 from mciwing/cv_fixes_video_solution
fixed problem with new attribute in solutions
2 parents 73cfeba + 6ed37ec commit 0eeb520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/yolo/video/solutions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ while cap.isOpened():
107107
break
108108

109109
# Process frame and count objects
110-
annotated_frame = counter.count(frame)
111-
110+
countresult = counter.process(frame)
111+
annotated_frame = countresult.plot_im
112112
# Display results
113113
cv2.imshow("Object Counting", annotated_frame)
114114

0 commit comments

Comments
 (0)