This doc contains differnt methods for adding devices to the system. Among them is the user GUI which allows the user to add new devices.
To launch the add device GUI run the following command in the terminal:
cd path/to/image_vec_db
# PowerShell
python src/add_device/add_device_gui.pyAdd Device Steps:
- Launch the GUI
- Click the
Add Devicebutton and follow the displayed dialog. - Once the device is added select it on the Devices page. Then press the
Add Centroidbutton to add the device to the database. This requires having a directory of JPG images for the device.
Notes:
- The connection info is added to
device_info\connection_info.- The gesture to command map is added to
device_info\gesture_to_command_map.- The device will only be detectable if a centroid is added.
- When adding a device the info can be loaded from a JSON using the
Load JSONbutton. There are example devices indevice_info\connection_info\examples.
See the launch instructions to launch the GLASS app with your added device.