# HTTP API ## `/api/config` Returns JSON config ## `/api/colortest/values` ```json { "test_image": test_image.jpg } // multipart file ``` Upload image to get info about colors detected in the image. This should make it easier to add objects with known colors as the program sees them. ## `/api/colortest/mask` ```json { "test_image": test_image.jpg } // multipart file { "color_lower": "0, 0, 0", "color_upper": "255, 255, 255" } // fields ``` Upload image to get info about colors detected in the image. This should make it easier to add objects with known colors as the program sees them. ## `/api//detect` ```json { "imageUrl": "http://some_camera_image.jpg" } // json ``` Take the `camera_name` config and `imageUrl` to run detection and see which objects are detected. ## `/api/