Answers.Body: <p>Matching 2 image of the same person can be done by help of &quot;Siamese Neural network&quot;. Here they compare feature of 2 images and if 2 features distance are very close then it's a match. Good thing about this is you do not need person face to match in database. You can use pre-trained network like deepface and use it to compare. However, I guess you will have more trouble connecting real time camera input. As you have to store camera 1 input so that it can be used later for comparison with camera 2 images.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-03T23:28:27.850Z
Answers.LastActivityDate: 2021-03-03T23:28:27.850Z
Answers.UserDisplayName: Rambo_john
Body: <p>I am working on a computer vision project, based on face detection to record the time spent by a person in an office.</p>
  <p>It consists of detecting the face by camera number 1 (input), temporarily storing the detected face, calculating the time spent until this same person leaves and his face is detected by camera number 2. (We don't have a customer database).</p>
  <p>Is there a better approach to follow? I would also appreciate articles to read on the topic.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-04T11:37:08.667Z
Comments.Text: Could you please put your main **specific** question in the title? "Face recognition..." does not end with `?`, so it's not a question. Moreover, the title doesn't seem to describe your actual problem. You actually have 2 cameras, so not just "from a single image".
Comments.UserDisplayName: nbro
Tags: <neural-networks><computer-vision><face-recognition>
Title: Face recognition from single image provided
UserDisplayName: Fahd Zaghdoudi
ThreadText: # Face recognition from single image provided
  
  (Asked by: username_0 on 2021-03-03)
  
  I am working on a computer vision project, based on face detection to record the time spent by a person in an office.
  
  It consists of detecting the face by camera number 1 (input), temporarily storing the detected face, calculating the time spent until this same person leaves and his face is detected by camera number 2. (We don't have a customer database).
  
  Is there a better approach to follow? I would also appreciate articles to read on the topic.
  
  **Tags:** neural-networks, computer-vision, face-recognition
  
  > **Comments:**
  > **username_1**: Could you please put your main **specific** question in the title? "Face recognition..." does not end with `?`, so it's not a question. Moreover, the title doesn't seem to describe your actual problem. You actually have 2 cameras, so not just "from a single image".  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-03-03. Score: 1 | Accepted answer
  
  Matching 2 image of the same person can be done by help of "Siamese Neural network". Here they compare feature of 2 images and if 2 features distance are very close then it's a match. Good thing about this is you do not need person face to match in database. You can use pre-trained network like deepface and use it to compare. However, I guess you will have more trouble connecting real time camera input. As you have to store camera 1 input so that it can be used later for comparison with camera 2 images.
  
  
  ---
  
  