Migrate to new Blob type and update imports
This now uses the latest version of labthings-fastapi.
This commit is contained in:
parent
aa42e93154
commit
1ba799de22
6 changed files with 34 additions and 21 deletions
|
|
@ -19,14 +19,9 @@ from labthings_fastapi.utilities import get_blocking_portal
|
|||
from labthings_fastapi.decorators import thing_action, thing_property
|
||||
from labthings_fastapi.dependencies.metadata import GetThingStates
|
||||
from labthings_fastapi.outputs.mjpeg_stream import MJPEGStreamDescriptor
|
||||
from labthings_fastapi.outputs.blob import BlobOutput
|
||||
from labthings_fastapi.types.numpy import NDArray
|
||||
|
||||
from . import Camera
|
||||
|
||||
|
||||
class JPEGBlob(BlobOutput):
|
||||
media_type = "image/jpeg"
|
||||
from . import Camera, JPEGBlob
|
||||
|
||||
|
||||
class OpenCVCamera(Camera):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue