Преглед на файлове

Update detect.py (#2167)

Without this cv2.imshow opens a window but nothing is visible
5.0
ab-101 GitHub преди 3 години
родител
ревизия
c32b0aff76
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. +1
    -0
      detect.py

+ 1
- 0
detect.py Целия файл

@@ -118,6 +118,7 @@ def detect(save_img=False):
# Stream results
if view_img:
cv2.imshow(str(p), im0)
cv2.waitKey(1) # 1 millisecond

# Save results (image with detections)
if save_img:

Loading…
Отказ
Запис