UoA-eResearch/hololens_facial_recognition

Some errors

thecuvii opened this issue · 9 comments

I built it in Unity 5.5.0f3 , some errors happened.

  1. in GazeGestureManager.cs line 45.
    captureObject.StartPhotoModeAsync(c, false ,OnPhotoModeStarted);
    it should be `captureObject.StartPhotoModeAsync(c,OnPhotoModeStarted);
    2.I think you should add some guide in Readme.md,such as user should put config.cfg under Assets folder.

anyway,this project helps me a lot, thank you very much.(sorry,my english is so bad).

  1. is confirmed, should be added to the current source for others to not stumble upon this again
  2. config in root folder worked for me with my own keys

I am trying to interface with https://hub.docker.com/r/uoacer/openface-mass-compare/ for individual recognition and running into issues. I have created the docker container and have the instance up and running. However, when I air tap on face, even though its a face in the group, I dont see anything returned by recogString. Any idea why? Do I need to write additional lines of code? specifying the url and such?

@anaik12 yes, you must configure the location of your openface server in your config.cfg. See https://github.com/UoA-eResearch/hololens_facial_recognition/blob/master/config.cfg.example

As I state in https://github.com/UoA-eResearch/hololens_facial_recognition/blob/master/README.md you must copy the example config file to a file called config.cfg

And yes, you'll need to rebuild/redeploy after editing the config file

Restructure your data.json like this

{
        "Ashwini": {
                "fullName": "Ashwini",
                "positions": [{
                        "position": "Research Assistant"
                }]
        }
}

There will be nothing in /var/log, to view the logs use the command docker logs -f omc