This is a ROS package of Siamesenet algorithm.
The package contains ROS node of SiameseNet with service-based ROS interface.
Some codes are from here.
- ROS kinetic/Melodic
- Pytorch
-
siameseNet
Containing 2 images to compare. After comparing, it returns similarity.
- Clone this repository to your catkin workspace, build workspace and source devel environment
- Download the trained model and locate it at proper path.
- Launch siameseNet.launch
- Run imgClient.py
$ roslaunch siamesenet siameseNet.launch
$ rosrun siamesenet imgClient.py