Closed haoyunfeix closed 7 years ago
@haoyunfeix This demo is a bit difficult to use, Though I was a bit confused with its implementation, I have to make it consistent with its native version. here I have some tips you may check before run it.
I made a test and you can try it too:
person_recognition_id.db
file in current directory. We need it in the next program.@haoyunfeix How is it going with the steps described in the last reply? Some details may be helpful. thanks.
This works for me, thanks.
This demo is a bit difficult to use, Though I was a bit confused with its implementation
Yes, I also tried the native sample. That confused me too because it forced to register people immediately when people tracked. Mouse click seems only to export the database as a file not to register people.
I tried to update the js code to implement the description as below at https://github.com/thewebera/realsense-ocf-demos/tree/master/demo2
Mouse click in any of the detected person's rectangle, activates registration for that person and saves the information in a database (database name currently hardcoded) with a Recognition ID (rid) assigned to that person.
Anyway, we can close this issue now.
Steps:
node main.js
andopen browser *.*.*.*:8000/view.html
Expects result: Loads the database that has information about the recognized persons and displays the rid of already registered person when they are present in the FOV.
Actually result: Did not show the rid of registered person on screen but "rid: ??"