Commit 1d8b80e7 authored by Sikhin VC's avatar Sikhin VC

added video rec feature

parent 1a98e47d
...@@ -356,7 +356,7 @@ class Ppe(ModelWrapper): ...@@ -356,7 +356,7 @@ class Ppe(ModelWrapper):
# a frame of above defined The output # a frame of above defined The output
# is stored in 'filename.avi' file. # is stored in 'filename.avi' file.
result = cv2.VideoWriter(file_name, result = cv2.VideoWriter(file_name,
cv2.VideoWriter_fourcc(*'MJPG'), cv2.VideoWriter_fourcc(*'H264'),
10, size) 10, size)
return result return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment