Fixed a small bug
This commit is contained in:
parent
5c4d4b7b14
commit
6ccb821508
2 changed files with 3 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ class InputReader():
|
|||
elif os.path.exists(capture):
|
||||
self.reader = VideoReader(capture)
|
||||
elif capture == str(int(capture)):
|
||||
self.reader = CameraReader(int(capture), width, height, fps)
|
||||
self.reader = CameraReader(int(capture), width, height, fps, use_escapi=use_escapi)
|
||||
except Exception as e:
|
||||
print("Error: " + str(e))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue