Update Backend/OCR/Dynamic/VideoOCR.py
Browse files
Backend/OCR/Dynamic/VideoOCR.py
CHANGED
|
@@ -277,7 +277,7 @@ def gradio_video_ocr_processing(video_file):
|
|
| 277 |
|
| 278 |
# Step 1: Frame similarity detection
|
| 279 |
print("[DEBUG] Detecting non-similar frames.")
|
| 280 |
-
non_similar_frames
|
| 281 |
|
| 282 |
# Step 2: OCR processing and saving the results
|
| 283 |
cap = cv2.VideoCapture(input_video_path)
|
|
|
|
| 277 |
|
| 278 |
# Step 1: Frame similarity detection
|
| 279 |
print("[DEBUG] Detecting non-similar frames.")
|
| 280 |
+
non_similar_frames = frame_similarity_detection(input_video_path)
|
| 281 |
|
| 282 |
# Step 2: OCR processing and saving the results
|
| 283 |
cap = cv2.VideoCapture(input_video_path)
|