Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.18 KB

File metadata and controls

25 lines (20 loc) · 1.18 KB

Add Device Interfaces

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.

User Add Device GUI

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.py

Add Device Steps:

  1. Launch the GUI
  2. Click the Add Device button and follow the displayed dialog.
  3. Once the device is added select it on the Devices page. Then press the Add Centroid button 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 JSON button. There are example devices in device_info\connection_info\examples.

Next Steps

See the launch instructions to launch the GLASS app with your added device.