Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
klorydryk
FacialRecoTrackingScore
Commits
2074579b
Commit
2074579b
authored
Apr 26, 2021
by
Salamandar
Browse files
Fix access to self.camera_number
parent
7463ec3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
trackmultiplefaces.py
100644 → 100755
View file @
2074579b
...
...
@@ -228,7 +228,8 @@ class facetracker:
add_warning_message
):
#Open the webcame device at camera_number
capture
=
cv2
.
VideoCapture
(
camera_number
)
print
(
"camera_number: "
,
self
.
camera_number
)
capture
=
cv2
.
VideoCapture
(
self
.
camera_number
)
FULLSCREEN
=
False
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment