-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Active_demo and some minor bug fixes on FaceRecognition #459
Conversation
…und/found Added feature_extraction method to get access to features from a face image Added active_demo in which features in database get updated with new features of the same person.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From source tests, it seems there are some PEP8 errors, please check and fix them.
This is pretty weird, the Edit: these are warnings, they don't fail the tests 😄 |
src/opendr/perception/face_recognition/face_recognition_learner.py
Outdated
Show resolved
Hide resolved
src/opendr/perception/face_recognition/face_recognition_learner.py
Outdated
Show resolved
Hide resolved
Hello @Pavlos-Tosidis, I am testing the tool and sometimes I get this error:
|
@Pavlos-Tosidis There seems to be pep8 errors still. |
* Finetuned yolov5 for trucks (#476) * Yolov5 learner truck updates * Yolov5 create an inference demo for the finetuned model * Update object-detection-2d-yolov5.md yolov5_learner.py documentation for download method * Update object-detection-2d-yolov5.md * Refactor yolov5_learner.py download process in constructor for efficiency * Update docs/reference/object-detection-2d-yolov5.md Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> --------- Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Yolov5 trucks fixes (#487) * Some fixes and additions on the yolov5 download method doc * Minor addition for model name yolov5 trucks * Some fixes for the yolov5 download method docstring --------- Co-authored-by: Vasilis Moustakidis <45403400+BillMousta@users.noreply.github.com> Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Thanks @Pavlos-Tosidis! Is this ready for review? |
Yes this is ready to be reviewed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed pep8 errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Pavlos-Tosidis for the new features! I have left some comments.
A general note: in all modified/new files, the retinaface detector is initialized with mnet
which if i recall correctly is used to identify masked faces. Is this intented?
projects/opendr_ws/src/opendr_perception/scripts/active_face_recognition_node.py
Outdated
Show resolved
Hide resolved
src/opendr/perception/face_recognition/face_recognition_learner.py
Outdated
Show resolved
Hide resolved
…ecognition_node.py Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
…r.py Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
* Changed Face Recognition inference return. Now class is 0/1 if not found/found Added feature_extraction method to get access to features from a face image Added active_demo in which features in database get updated with new features of the same person. * Added final carriage return * Develop (opendr-eu#489) * Finetuned yolov5 for trucks (opendr-eu#476) * Yolov5 learner truck updates * Yolov5 create an inference demo for the finetuned model * Update object-detection-2d-yolov5.md yolov5_learner.py documentation for download method * Update object-detection-2d-yolov5.md * Refactor yolov5_learner.py download process in constructor for efficiency * Update docs/reference/object-detection-2d-yolov5.md Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> --------- Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Yolov5 trucks fixes (opendr-eu#487) * Some fixes and additions on the yolov5 download method doc * Minor addition for model name yolov5 trucks * Some fixes for the yolov5 download method docstring --------- Co-authored-by: Vasilis Moustakidis <45403400+BillMousta@users.noreply.github.com> Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com> * Added: A simple demo for active feature updates A RosNode to be used by Pal_Robotics for the healthcare use case Fixed pep8 errors Added Readme's * Added: Fixed pep8 errors * Update projects/opendr_ws/src/opendr_perception/scripts/active_face_recognition_node.py Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com> * Update src/opendr/perception/face_recognition/face_recognition_learner.py Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com> --------- Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: Nikolaos Passalis <passalis@users.noreply.github.com> Co-authored-by: Vasilis Moustakidis <45403400+BillMousta@users.noreply.github.com> Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Changed Face Recognition inference return. Now class is 0/1 if not found/found
Added feature_extraction method to get access to features from a face image
Added active_demo in which features in database get updated with new features of the same person.