RAPP Platform Wiki
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
#Methodology The RAPP Caffe Wrapper node contains the services responsible for object identification via the Caffe deep learning framework and the assistive services for translating caffe classes to ontolgoy classes and registering the object images to the ontology.
/rapp/rapp_caffe_wrapper/register_image_to_ontology
This service will classify an image using the Caffe deep learning framework and if requested it will translate its caffe class to ontology class and register it to the ontology.
Service URL: /rapp/rapp_caffe_wrapper/get_ontology_class_equivalent
Service type: ```bash #the url of the image string objectFileUrl #the username of the user calling the service string username #true if the image will be registered to the ontology
#the value of the ontology entry if the image was registered string ontologyNameOfImage #the caffe object class of the image string objectClass bool success
string error #tracen information string[] trace
```
This service will return the ontology class equivalent of a caffe object class.
Service URL: /rapp/rapp_caffe_wrapper/get_ontology_class_equivalent
Service type: ```bash #the caffe object class of the iamge
#true if a corresponding object exists in the ontology bool existsInOntology #the ontology equivalent class of the caffe class string ontologyClass bool success
string error #tracen information string[] trace
```
This service will register an image to the ontology along with the caffe and ontology class of the depicted object.
Service URL: /rapp/rapp_caffe_wrapper/get_ontology_class_equivalent
Service type: ```bash #the caffe object class of the iamge
#true if a corresponding object exists in the ontology bool existsInOntology #the ontology equivalent class of the caffe class string ontologyClass bool success
string error #tracen information string[] trace
```
Launches the rapp_caffe_wrapper node and can be launched using ``` roslaunch rapp_caffe_wrapper rapp_caffe_wrapper_functional_tests.launch ```
``` /hop/object_recognition_caffe ```
```js { file: '' } ```
application/json response.
```js { object_class: '', error: '' } ```