Open julianstirling opened 1 week ago
This will be caused by objects in the configuration dict returned by picamera2
not being JSON serialisable. We could either use a Pydantic model to describe the return value or (easier) just have some code that turns the libcamera Transform
object into a list of numbers or similar.
If there's a way to get friendlier messages out of the web app, I'd love to implement it! Unfortunately that error comes from FastAPI/Pydantic, so it's not one I can easily intercept.
Terminal log: