Commit c4b53661 authored by klorydryk's avatar klorydryk
Browse files

ajout __init__

parent e080d123
......@@ -69,6 +69,11 @@ def count_cameras():
class facetracker:
camera_number = 0
def __init__(self, camera_nb):
camera_number = camera_nb
#We are not doing really face recognition
def doRecognizePerson(faceNames, fid):
......@@ -615,9 +620,8 @@ class facetracker:
if __name__ == '__main__':
for value in count_cameras():
# Camera number
camera = facetracker(value)
# False: Names are directly printed on screen, no new thread
start_thread = False,
# Select only names with letters and whitespace. Any other value will select printable.
Supports Markdown
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