Added Face Enrollment to Remove_Face and CheckUp
This commit is contained in:
		
							parent
							
								
									831792b3fa
								
							
						
					
					
						commit
						fbfc071aba
					
				
					 4 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -19,7 +19,7 @@ def update():
 | 
				
			||||||
                os.makedirs("Facial_images/face_rec/train/User_" + str(count))
 | 
					                os.makedirs("Facial_images/face_rec/train/User_" + str(count))
 | 
				
			||||||
            Parallel(n_jobs=multiprocessing.cpu_count())(
 | 
					            Parallel(n_jobs=multiprocessing.cpu_count())(
 | 
				
			||||||
                delayed(download_parallel_user_photos)(i, count) for i in range(50))
 | 
					                delayed(download_parallel_user_photos)(i, count) for i in range(50))
 | 
				
			||||||
        print("User data is found.")
 | 
					        print("User data is checked.")
 | 
				
			||||||
    except:
 | 
					    except:
 | 
				
			||||||
        print("No Users are registered.")
 | 
					        print("No Users are registered.")
 | 
				
			||||||
    count = 0
 | 
					    count = 0
 | 
				
			||||||
| 
						 | 
					@ -31,7 +31,7 @@ def update():
 | 
				
			||||||
                os.makedirs("Photos_of_Thieves/Thief_" + str(count))
 | 
					                os.makedirs("Photos_of_Thieves/Thief_" + str(count))
 | 
				
			||||||
            Parallel(n_jobs=multiprocessing.cpu_count())(
 | 
					            Parallel(n_jobs=multiprocessing.cpu_count())(
 | 
				
			||||||
                delayed(download_parallel_thief_photos)(i, count) for i in range(50))
 | 
					                delayed(download_parallel_thief_photos)(i, count) for i in range(50))
 | 
				
			||||||
        print("Thief data is found.")
 | 
					        print("Thief data is checked.")
 | 
				
			||||||
    except:
 | 
					    except:
 | 
				
			||||||
        print("No Thieves are registered.")
 | 
					        print("No Thieves are registered.")
 | 
				
			||||||
    print("Data saved! Starting enrollment...")
 | 
					    print("Data saved! Starting enrollment...")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 73 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 80 KiB  | 
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue