Fixed a Typo again.
This commit is contained in:
parent
87dec86a71
commit
3193e4d438
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ def start():
|
||||||
users = DBHelper.db.child("Users").get()
|
users = DBHelper.db.child("Users").get()
|
||||||
try:
|
try:
|
||||||
for x in users.each():
|
for x in users.each():
|
||||||
count = +1
|
count += 1
|
||||||
for y in range(20):
|
for y in range(20):
|
||||||
if not os.path.isdir("Facial_images/face_rec/train/User_" + str(count)):
|
if not os.path.isdir("Facial_images/face_rec/train/User_" + str(count)):
|
||||||
os.makedirs("Photos_of_Users/User_" + str(count))
|
os.makedirs("Photos_of_Users/User_" + str(count))
|
||||||
|
@ -19,7 +19,7 @@ def start():
|
||||||
count = 0
|
count = 0
|
||||||
try:
|
try:
|
||||||
for x in users.each():
|
for x in users.each():
|
||||||
count = +1
|
count += 1
|
||||||
for y in range(20):
|
for y in range(20):
|
||||||
if not os.path.isdir("Photos_of_Thieves/Thief_" + str(count)):
|
if not os.path.isdir("Photos_of_Thieves/Thief_" + str(count)):
|
||||||
os.makedirs("Photos_of_Thieves/Thief_" + str(count))
|
os.makedirs("Photos_of_Thieves/Thief_" + str(count))
|
||||||
|
|
Loading…
Reference in a new issue