79549555

Date: 2025-04-02 02:50:13
Score: 1.5
Natty:
Report link

I know the problem now. The issue arises because in the threading setup: threading.Thread(video_capture_thread, daemon=True).start(), the OCR function is running within the thread. While the frame updates quickly, the OCR process is slow. Each time the frame updates, it is sent to the OCR function (check_detection_region), which causes the OCR function to break. As a result, some regions are not detected.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Big-Yellow-J