Add a stub OpenCV-based camera
This allows the server to run on a laptop, to some extent. I've not tested if this will make the whole web app work properly. As StreamingPiCamera2 is hardcoded in various places, this certainly doesn't make cameras totally interchangeable - but it is a step towards that.
This commit is contained in:
parent
c32b44d1a6
commit
3f92ed8266
2 changed files with 152 additions and 1 deletions
|
|
@ -17,9 +17,9 @@ classifiers = [
|
|||
dependencies = [
|
||||
"labthings-fastapi[server]",
|
||||
"labthings-sangaboard",
|
||||
"labthings-picamera2",
|
||||
"camera-stage-mapping ~= 0.1.6",
|
||||
"numpy ~= 1.20",
|
||||
"piexif",
|
||||
"scipy ~= 1.6",
|
||||
"opencv-python ~= 4.7.0",
|
||||
"anyio ~= 4.0",
|
||||
|
|
@ -29,6 +29,10 @@ dependencies = [
|
|||
dev = [
|
||||
"labthings-fastapi[dev]",
|
||||
]
|
||||
pi = [
|
||||
"labthings-picamera2",
|
||||
]
|
||||
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://openflexure.org/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue