Add functionality to switch OpenCV camera without restarting the server.

This commit is contained in:
Julian Stirling 2026-02-17 17:08:19 +00:00
parent 9a198cc5a3
commit 4dfb252439
3 changed files with 107 additions and 18 deletions

View file

@ -1,9 +1,6 @@
{
"things": {
"camera": {
"class": "openflexure_microscope_server.things.camera.opencv:OpenCVCamera",
"kwargs": {"camera_index": 0}
},
"camera": "openflexure_microscope_server.things.camera.opencv:OpenCVCamera",
"system": "openflexure_microscope_server.things.system:OpenFlexureSystem"
},
"settings_folder": "./openflexure/settings/",