Announcement

Collapse
No announcement yet.

Face Recognition plug-in - Beta testing

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Face Recognition plug-in - Beta testing

    This plugin is designed to detect and recognize people in videos feeds

    This is an early Beta Version. From my limited tests the detection part works quite well, but the recognition part could (and will ) be more reliable. Please give me some feedback and report any bug.

    Please read the User Guide before installing

    FaceRecognition_3-0-1-0.zip

    Installation:
    • download the above zip and save it in the HS3 application folder in /updates3/zips
    • download the file named updater_override.txt and save it in the HS3 application folder.
    • go to the "PLUG-INS > Manage" page and click the "Update Listing" button, then click "Additional interfaces > Face Recognition Plugin" and check the Face Recognition line.
    • click the "Download and Install" button
    • enable the plugin from the "PLUG-INS > Manage" page
    • delete updater_override.txt from your HS3 application folder


    Changes to v3.0.1.0
    - update to Emgu 3.4.1
    - update to lbpcascade_frontalface_improved.xml

    Changes to v3.0.0.4
    - Fixed bug when passing url containing "=" as a parameter of the Training Data manager
    - Possibility to use different resolution for recognition

    Changes to v3.0.0.3:
    - Added "Faces Picture" device that dispay the detected faces even if none is recognized.
    - Enhanced logs

    Changes to v3.0.0.2:
    - set default setting to process frame every 1s
    - fixed minor bugs

    Changes to v3.0.0.1:
    - Added support for snapshot URL (Kinect now supported)
    - Fixed memory leaks and a few minor bugs
    Attached Files
    Last edited by spud; June 25, 2018, 12:41 PM.

    #2
    here is some screenshots

    Click image for larger version

Name:	config.jpg
Views:	2
Size:	61.9 KB
ID:	1176550

    Click image for larger version

Name:	TrainingDataManager.jpg
Views:	2
Size:	157.9 KB
ID:	1176548

    Click image for larger version

Name:	devices2.jpg
Views:	1
Size:	98.5 KB
ID:	1176549
    Last edited by spud; March 13, 2015, 02:19 PM.

    Comment


      #3
      Pretty cool!

      I have it installed and I'm ready to test for you!

      So far, it has not recognized the kinect as a local camera and my only other camera is the built in one on my laptop which would be a remote instance.

      I might not be a good beta candidate, lol.

      Comment


        #4
        I've tried getting it to start with my blue cherry capture card and a couple different ip cameras. I'm not surprised it wont connect with the ip cameras because I probably haven't entered the proper ip stream settings. The blue cherry is direct show compatible (supposedly) but I noticed the camera ports are one input off. I select cam 8 and the error below shows cam 7.
        Attached Files
        https://forums.homeseer.com/forum/de...plifier-plugin

        Comment


          #5
          Originally posted by happnatious1 View Post
          I've tried getting it to start with my blue cherry capture card and a couple different ip cameras. I'm not surprised it wont connect with the ip cameras because I probably haven't entered the proper ip stream settings. The blue cherry is direct show compatible (supposedly) but I noticed the camera ports are one input off. I select cam 8 and the error below shows cam 7.
          the camera index you see in the logs is the index assigned by windows which is 0 based and which can be different from the name that you see in the dropdown list.

          For the ip camera, you need to enter the full url with protocol (http or rtsp), something like rtsp://192.168.1.153:8080/h264 for example.
          Ideally the resolution of the stream should be 320x240, if it is not the plugin will internally resize it to this resolution.

          Comment


            #6
            Originally posted by ckellyusa View Post
            Pretty cool!

            I have it installed and I'm ready to test for you!

            So far, it has not recognized the kinect as a local camera and my only other camera is the built in one on my laptop which would be a remote instance.

            I might not be a good beta candidate, lol.
            kinect camera is not supported yet, unless you have installed a driver that let you use it as a regular USB webcam.

            Comment


              #7
              Hi Spud,
              I have also the same problem. I have an IP outside Foscam with a username to access it. Do you know what the configurations should be?

              Thanks,
              Aldo

              Comment


                #8
                Originally posted by aldo View Post
                Hi Spud,
                I have also the same problem. I have an IP outside Foscam with a username to access it. Do you know what the configurations should be?

                Thanks,
                Aldo
                according to this: http://foscam.us/forum/how-to-fetch-...ras-t4328.html (Not sure it works on all foscam camera though)

                first you need to set one stream to MJPEG by inputting the following command into a browser:
                Code:
                http://ip address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1

                then you should be able to fetch the stream from this url:
                Code:
                http://ip address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxx

                try it first on your browser, if it works it should work as well in the plugin

                Comment


                  #9
                  Hi Spud,
                  If I enter this in the browser
                  http://192.168.0.36:8036/snapshot.cgi?user=xxx&pwd=xxx it works with no issues.

                  Within your plugin, I get this message.

                  ERROR System.NullReferenceException: Unable to create capture from http://192.168.0.36:8036/snapshot.cgi?user=xxx&pwd=xxx at Emgu.CV.Capture..ctor(String fileName) at HSPI_FaceRecognition.FaceRecognitionApp.StartCapture()

                  Comment


                    #10
                    Originally posted by aldo View Post
                    Hi Spud,
                    If I enter this in the browser
                    http://192.168.0.36:8036/snapshot.cgi?user=xxx&pwd=xxx it works with no issues.

                    Within your plugin, I get this message.

                    ERROR System.NullReferenceException: Unable to create capture from http://192.168.0.36:8036/snapshot.cgi?user=xxx&pwd=xxx at Emgu.CV.Capture..ctor(String fileName) at HSPI_FaceRecognition.FaceRecognitionApp.StartCapture()
                    snapshot url are not supported yet by the plugin, you need to enter stream url (MJPEG or H264). Did you try the kind of url I mentioned in my previous post?

                    Comment


                      #11
                      Hi Spud,
                      I did, unfortunately getting no pages, the web page can not be found. Maybe someone here will try and will be more successful.

                      Comment


                        #12
                        Hi Spud,
                        I found this web site http://www.ispyconnect.com/man.aspx?n=foscam
                        When I run the syntax in the browser, it will prompt to open or save. When I open it, it will say download 100k, 200k and etc. without showing the camera. I think it is working but your plugin is not starting.

                        Comment


                          #13
                          Right now it is working using the following http://192.168.0.36:8036/videostream...tion=32&rate=0

                          It this a correct setting?

                          Comment


                            #14
                            Originally posted by aldo View Post
                            Right now it is working using the following http://192.168.0.36:8036/videostream...tion=32&rate=0

                            It this a correct setting?
                            I can't tell you if your url is correct since I don't know the model of your camera, and particularly what the value for resolution and rate parameters mean in your url.
                            That being said, if when you click on the "Manage Training Data" button, you can see the video feed from your camera in the Training Data Manager window, and if it doesn't lag too much, then it's probably fine.

                            Tomorrow I will release version 3.0.0.1 which support snapshot urls, so that will give you another alternative.

                            Comment


                              #15
                              Great, thanks.

                              Comment

                              Working...
                              X