Robin Cole

Results 436 comments of Robin Cole

Should just be a case of swapping [WebcamVideoStream](https://github.com/robmarkcole/mqtt-camera-streamer/blob/8f60ec3955212bbfb5fc8e42de1700964078cafa/scripts/camera.py#L9) (which uses openCV for accessing USB webcams) for https://github.com/jrosebr1/imutils/blob/master/imutils/video/videostream.py and passing `usePiCamera=True`. Proposed update config and docs ```yaml camera: video_source: 0 #...

Created branch https://github.com/robmarkcole/mqtt-camera-streamer/tree/support-rpi but getting issue https://github.com/robmarkcole/mqtt-camera-streamer/issues/20

Might be simpler to have a seperate camera script for the picamera and not import cv2 at all

Note that alternatively the rpi camera can be setup as an mjpeg stream -> https://github.com/waveform80/picamera/blob/master/docs/examples/web_streaming.py

Added `picamera-publish.py` script, hangs after first frame published with error `picameraruntimeerror: timed out waiting for capture to end`. Also tried numpy capture, same issue, presumably https://github.com/waveform80/picamera/issues/242

Example: https://github.com/google-coral/examples-camera/blob/master/raspicam/classify_capture.py

Reference simple script in https://github.com/chardorn/cambia/blob/master/critter_cam/loop_pub.py

hi @leafgarland that results in a new error: ``` (venv) (base) Robins-MacBook:datasette robin$ dogsheep-photos apple-photos photos.db Traceback (most recent call last): File "/Users/robin/datasette/venv/bin/dogsheep-photos", line 8, in sys.exit(cli()) File "/Users/robin/datasette/venv/lib/python3.8/site-packages/click/core.py", line...

Perhaps just write some docs for use with an existing solution e.g. https://terria.io/

I initially investigated pandas dataframe panels, but a feature of multi-index that I prefer is that it is a flat structure which can be written to csv. There is a...