Spaces:
Sleeping
Sleeping
test
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ model3 = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-cap
|
|
| 28 |
# Frame Extraction and Captioning Logic
|
| 29 |
def process_video(video_path):
|
| 30 |
vidObj = cv2.VideoCapture(video_path)
|
|
|
|
| 31 |
count = 0
|
| 32 |
success = True
|
| 33 |
frame_captions = {"Model 1": [], "Model 2": [], "Model 3": []}
|
|
|
|
| 28 |
# Frame Extraction and Captioning Logic
|
| 29 |
def process_video(video_path):
|
| 30 |
vidObj = cv2.VideoCapture(video_path)
|
| 31 |
+
print(vidObj)
|
| 32 |
count = 0
|
| 33 |
success = True
|
| 34 |
frame_captions = {"Model 1": [], "Model 2": [], "Model 3": []}
|