Closed thecuvii closed 7 years ago
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
I did with no luck. However, Should I rebuild the solution in Unity after making the changes?
Also, I have the docker running fine. Here is the output of the test run -
root@chihiro:/home/anaik3# time curl localhost:8000 --data-binary @Ashwi.jpg -vv
POST / HTTP/1.1 Host: localhost:8000 User-Agent: curl/7.47.0 Accept: / Content-Length: 282026 Content-Type: application/x-www-form-urlencoded Expect: 100-continue
< HTTP/1.1 100 Continue
Thanks and Regards, Ashwini Naik
On Mon, Apr 24, 2017 at 6:11 PM, Nick Young notifications@github.com wrote:
@anaik12 https://github.com/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
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UoA-eResearch/hololens_facial_recognition/issues/3#issuecomment-296847118, or mute the thread https://github.com/notifications/unsubscribe-auth/AS-4RWpUiT-LDhNnPi3sQYESvjEzbJFgks5rzSwggaJpZM4LWHUH .
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
Hi Nick,
I was able to get the docker to work fine. However, now I am now stuck getting the additional data. I have created the additional data.json file and the contents of it are as seen below.
root@chihiro:/# cd /root/data root@chihiro:~/data# ls data.json data.pickle images root@chihiro:~/data# cat data.json { "data": { "fullName": "Ashwini", "positions": [{ "position": "Research Assistant" }] } }root@chihiro:~/data#
However, when I try to compare my data field still returns a null as seen below.
< Content-Type: application/json <
Is there something I am doing wrong. Any suggestions? I have checked /var/log and it was of no help. Tried multiple restart of the docker instance with no luck.
Thanks and Regards, Ashwini Naik
On Tue, Apr 25, 2017 at 12:06 AM, Nick Young notifications@github.com wrote:
And yes, you'll need to rebuild/redeploy after editing the config file
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UoA-eResearch/hololens_facial_recognition/issues/3#issuecomment-296908970, or mute the thread https://github.com/notifications/unsubscribe-auth/AS-4RRjVcv7501NndLXE6DuszcYWU6Jiks5rzX9sgaJpZM4LWHUH .
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
Got it! Thanks so much!
< Content-Type: application/json <
Also, just wanted to let you know, this is for a class project we are working on. We will be mentioning you in the credits section. It is not complete yet. Will let you know once done.
Thanks and Regards, Ashwini Naik
On Sat, Apr 29, 2017 at 6:32 PM, Nick Young notifications@github.com wrote:
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
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UoA-eResearch/hololens_facial_recognition/issues/3#issuecomment-298201008, or mute the thread https://github.com/notifications/unsubscribe-auth/AS-4RYDwetk2-GBavNf6SPr6gZris1gXks5r08iPgaJpZM4LWHUH .
I built it in Unity 5.5.0f3 , some errors happened.
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).