Package Summary
Tags | No category tags. |
Version | 0.0.5 |
License | MIT |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/tue-robotics/image_recognition.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-12-12 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Rein Appeldoorn
Authors
Keras image recognition
Image recognition with use of Keras.
Installation
See https://github.com/tue-robotics/image_recognition for installation instructions.
ROS Node (face_properties_node)
Age and gender estimation with use of WideResNet from https://github.com/yu4u/age-gender-estimation. You can download the pre-trained model here: https://github.com/tue-robotics/image_recognition/releases/download/image_recognition_keras_face_properties_weights.28-3.73/image_recognition_keras_face_properties_weights.28-3.73.hdf5
rosrun image_recognition_keras face_properties_node _weights_file_path:=[path_to_model]
Run the image_recognition_rqt test gui (https://github.com/tue-robotics/image_recognition_rqt)
rosrun image_recognition_rqt test_gui
Configure the service you want to call with the gear-wheel in the top-right corner of the screen. If everything is set-up, draw a rectangle in the image around a face:
Scripts
Download model
Download weights from github.
usage: download_model [-h] [--model_path MODEL_PATH]
optional arguments:
-h, --help show this help message and exit
--model_path MODEL_PATH
Get face properties (get_face_properties)
Get the classification result of an input image:
rosrun image_recognition_keras get_face_properties `rospack find image_recognition_keras`/doc/face.png
Output:
[(50.5418073660112, array([0.5845756 , 0.41542447], dtype=float32))]
Troubleshooting
An error occurred: softmax() got an unexpected keyword argument 'axis'
Make sure you have tensorflow version >= 1.5.
Changelog for package image_recognition_keras
0.0.5 (2019-06-08)
- added gender confidence in return msg
- Installation instructions openpose / openface + model download
- Added installation instructions openpose + model dowload
- Added installation instructions openface + model download
- Added download script for model
- Use local weights (our own github repo)
- test for face_properties with keras
- Added catkin lint to all packages
- refactor package xml to 2.0
- rename ROS pkgs with image_recognition_prefix
- Contributors: Arpit Aggarwal, Rein Appeldoorn
Wiki Tutorials
Source Tutorials
Package Dependencies
System Dependencies
Dependant Packages
Name | Repo | Deps |
---|---|---|
image_recognition | github-tue-robotics-image_recognition |