Answers.Body: <p>I am definitely not the most qualified person in order to answer this question, but I might be able to give you a couple of buzz words to go and do some more research on your own. A convolutional neural network is usually used for analyzing anything visual. (you can read about it here: <a href="https://en.wikipedia.org/wiki/Convolutional_neural_network" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Convolutional_neural_network</a>)</p>
  
  <p>There are a lot of frameworks that allow you to build recognition classifiers that can be loaded into a real-time video feed and give you feedback when it gets a hit.</p>
  
  <p>Some of the ones that I know of are:</p>
  
  <ul>
  <li><p><a href="https://caffe2.ai/" rel="nofollow noreferrer">https://caffe2.ai/</a> or <a href="http://caffe.berkeleyvision.org/" rel="nofollow noreferrer">http://caffe.berkeleyvision.org/</a></p></li>
  <li><p><a href="https://pjreddie.com/darknet/" rel="nofollow noreferrer">https://pjreddie.com/darknet/</a></p></li>
  <li><p><a href="https://docs.opencv.org/2.4/modules/ml/doc/neural_networks.html" rel="nofollow noreferrer">https://docs.opencv.org/2.4/modules/ml/doc/neural_networks.html</a></p></li>
  </ul>
  
  <p>With Caffe being the most popular.</p>
  
  <p>Some articles on how these work:</p>
  
  <ul>
  <li><p><a href="https://pjreddie.com/darknet/yolo/" rel="nofollow noreferrer">https://pjreddie.com/darknet/yolo/</a></p></li>
  <li><p><a href="http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html" rel="nofollow noreferrer">http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html</a></p></li>
  </ul>
  
  <p>Hope this is at least able to get you on the right path.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-21T19:17:19.353Z
Answers.Text: This is very interesting! YOLO v2 seems very impressive. So what I'd need from there would be to **(1)** detect the person, **(2)** send the image to a face recognition software and update the information when it returns something (when they face the camera), **(3)** extrapolate the persons's feet position on the floor, **(4)** note the date, and person every time they enter/exit each zone.
Answers.UserDisplayName: Frank Malenfant
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T22:39:50.420Z
Answers.Text: That seems correct for you use case, yes.
Answers.UserDisplayName: Joshua Terrill
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-18T23:51:27.627Z
Answers.LastActivityDate: 2017-12-18T23:51:27.627Z
Answers.UserDisplayName: Joshua Terrill
Answers.Body: <p>training a model to identify new persons from video logs seems to be a daunting task.</p>
  
  <p>You will be needing lots of data and computational power for building such a model.
  and there is relatively low work going on videos  due to the amount of computational power required , even training a simple video classifier with reasonable accuracy requires lots of expertise and resources (data and computing).</p>
  
  <p>Having said that recognising persons from videos and "new" person identification seems to be even more difficult , you should definitely read some papers on video classification using convolutional neural networks to get an idea of how hard the problem is. frameworks are only mere tools which give you helper functions to build neural networks , so  choice of frameworks is not a question.</p>
  
  <p>The real question is are you sure you want to train a model (CNN) for this task? 
  <em>Can use video feeds to detect new people in the workspace and prompt someone (via e-mail or text message) for identification</em></p>
  
  <p>for this you should be training a convolutional network on the factory videos dataset , i.e you the cnn trains on frame level for the videos.
  and recognizing and classifying "known" and "unknown" faces from videos is a research problem in its own right </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-29T07:56:23.487Z
Answers.LastActivityDate: 2018-06-29T07:56:23.487Z
Answers.UserDisplayName: thecomplexitytheorist
Body: <p><em>TLDR : Is there an AI available that can recognize employees in a factory and tell when they entered and left pre-defined areas?</em></p>
  
  <p>I work in a factory where we gather cycle time data from various inputs (computer interfaces, bar code readers and RFID tags). We follow both parts moving along the production line and persons working on those parts because they move from stations to stations during their day and can be more than one at the same place to help one another.</p>
  
  <p>Our goal is to know how many people are working on each part at any given time, but the problem is that it takes time for people to check themselves in when they get to their workstation and they can also forget to do it.</p>
  
  <p>Many employees asked me if I could find a way to track them automatically so they wouldn't need to check in everywhere they go. And then I stumbled upon <a href="https://www.youtube.com/watch?v=O1pDOkzsFOU" rel="nofollow noreferrer">Microsoft Workplace Safety Demo</a> and <a href="http://www.scmp.com/magazines/post-magazine/long-reads/article/2123415/doctor-border-guard-policeman-artificial" rel="nofollow noreferrer">Yitu System</a> (this one is scary) but they both seem to be a little overkill for my needs.</p>
  
  <p>After learning about these, here is the ideal AI features that I'd need :</p>
  
  <ul>
  <li>Can use video feeds to detect new people in the workspace and prompt someone (via e-mail or text message) for identification.</li>
  <li>Can use video feeds to recognize persons that are already known and document every time someone has entered or left a pre-defined zone (workstation) in the video feed.</li>
  <li>Won't force me to have a camera for each workstation.</li>
  <li>Allows one workstation to span on more than one video feed.</li>
  </ul>
  
  <p>As of now, I found nothing available that does this, but I may have missed lots of things because this is not what I am used to work with. So maybe you know something that could help me with that?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-20T03:21:34.117Z
Comments.Text: Are you looking for a turnkey solution or algorithms & ideas to write your own solution?
Comments.UserDisplayName: Brian O'Donnell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-21T19:08:33.547Z
Comments.Text: I'd rather not reinvent the wheel if it is already available to me.
Comments.UserDisplayName: Frank Malenfant
Tags: <computer-vision><facial-recognition>
Title: Searching an AI to recognize and locate persons in a factory
UserDisplayName: Frank Malenfant
ThreadText: # Searching an AI to recognize and locate persons in a factory
  
  (Asked by: username_0 on 2017-12-18)
  
  *TLDR : Is there an AI available that can recognize employees in a factory and tell when they entered and left pre-defined areas?*
  
  I work in a factory where we gather cycle time data from various inputs (computer interfaces, bar code readers and RFID tags). We follow both parts moving along the production line and persons working on those parts because they move from stations to stations during their day and can be more than one at the same place to help one another.
  
  Our goal is to know how many people are working on each part at any given time, but the problem is that it takes time for people to check themselves in when they get to their workstation and they can also forget to do it.
  
  Many employees asked me if I could find a way to track them automatically so they wouldn't need to check in everywhere they go. And then I stumbled upon [Microsoft Workplace Safety Demo](https://www.youtube.com/watch?v=O1pDOkzsFOU) and [Yitu System](http://www.scmp.com/magazines/post-magazine/long-reads/article/2123415/doctor-border-guard-policeman-artificial) (this one is scary) but they both seem to be a little overkill for my needs.
  
  After learning about these, here is the ideal AI features that I'd need :
  
  * Can use video feeds to detect new people in the workspace and prompt someone (via e-mail or text message) for identification.
  * Can use video feeds to recognize persons that are already known and document every time someone has entered or left a pre-defined zone (workstation) in the video feed.
  * Won't force me to have a camera for each workstation.
  * Allows one workstation to span on more than one video feed.
  
  As of now, I found nothing available that does this, but I may have missed lots of things because this is not what I am used to work with. So maybe you know something that could help me with that?
  
  **Tags:** computer-vision, facial-recognition
  > **Comments:**
  > **username_1**: Are you looking for a turnkey solution or algorithms & ideas to write your own solution?  
  > **username_0**: I'd rather not reinvent the wheel if it is already available to me.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-12-18. Score: 1 | Accepted answer
  
  I am definitely not the most qualified person in order to answer this question, but I might be able to give you a couple of buzz words to go and do some more research on your own. A convolutional neural network is usually used for analyzing anything visual. (you can read about it here: <https://en.wikipedia.org/wiki/Convolutional_neural_network>)
  
  There are a lot of frameworks that allow you to build recognition classifiers that can be loaded into a real-time video feed and give you feedback when it gets a hit.
  
  Some of the ones that I know of are:
  
  * <https://caffe2.ai/> or <http://caffe.berkeleyvision.org/>
  * <https://pjreddie.com/darknet/>
  * <https://docs.opencv.org/2.4/modules/ml/doc/neural_networks.html>
  
  With Caffe being the most popular.
  
  Some articles on how these work:
  
  * <https://pjreddie.com/darknet/yolo/>
  * <http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html>
  
  Hope this is at least able to get you on the right path.
  
  > **Comments:**
  > **username_0**: This is very interesting! YOLO v2 seems very impressive. So what I'd need from there would be to **(1)** detect the person, **(2)** send the image to a face recognition software and update the information when it returns something (when they face the camera), **(3)** extrapolate the persons's feet position on the floor, **(4)** note the date, and person every time they enter/exit each zone.  
  > **username_2**: That seems correct for you use case, yes.  
  
  ---
  
  ### Answer by username_3 on 2018-06-29. Score: 0
  
  training a model to identify new persons from video logs seems to be a daunting task.
  
  You will be needing lots of data and computational power for building such a model.
  and there is relatively low work going on videos due to the amount of computational power required , even training a simple video classifier with reasonable accuracy requires lots of expertise and resources (data and computing).
  
  Having said that recognising persons from videos and "new" person identification seems to be even more difficult , you should definitely read some papers on video classification using convolutional neural networks to get an idea of how hard the problem is. frameworks are only mere tools which give you helper functions to build neural networks , so choice of frameworks is not a question.
  
  The real question is are you sure you want to train a model (CNN) for this task?
  *Can use video feeds to detect new people in the workspace and prompt someone (via e-mail or text message) for identification*
  
  for this you should be training a convolutional network on the factory videos dataset , i.e you the cnn trains on frame level for the videos.
  and recognizing and classifying "known" and "unknown" faces from videos is a research problem in its own right
  
  
  ---
  
  