DSatishchandra commited on
Commit
afcac7b
Β·
verified Β·
1 Parent(s): 8beba45

Update services/video_service.py

Browse files
Files changed (1) hide show
  1. services/video_service.py +1 -1
services/video_service.py CHANGED
@@ -16,7 +16,7 @@ class VideoService:
16
  cap.release()
17
  return frames
18
 
19
- def frame_to_pil(self,frame)
20
  try:
21
  frame_rgb= cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
22
  pil_image = Image.fromarray(frame_rgb)
 
16
  cap.release()
17
  return frames
18
 
19
+ def frame_to_pil(self,frame):
20
  try:
21
  frame_rgb= cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
22
  pil_image = Image.fromarray(frame_rgb)