Skip to content

Commit f37d860

Browse files
committed
Fix example 5
Reflects change in 3ca9229
1 parent 6a81d86 commit f37d860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ex05_detect_sfe_logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# logo on a light background (or vice versa), but you can modify this to
5555
# find specific colors or use other methods if desired
5656
gray = cv.cvtColor(frame, cv.COLOR_BGR2GRAY)
57-
thresh = cv.threshold(gray, 0, 255, cv.THRESH_BINARY | cv.THRESH_OTSU)
57+
ret, thresh = cv.threshold(gray, 0, 255, cv.THRESH_BINARY | cv.THRESH_OTSU)
5858

5959
# Find contours in the binary image, which represent the boundaries of
6060
# shapes. Contours are a powerful tool in OpenCV for shape analysis and

0 commit comments

Comments
 (0)