Closed JS1Dev closed 4 months ago
The step to initialize the database is 11:
Initialize the database for Flask
(with raspi-cam-srv as active directory and the virtual environment activated - see step 7):
flask --app raspiCamSrv init-db
That worked, thanks :).
Well... that was embarrassing, not sure how I followed all those instructions and just missed that one. I even ran into and resolved the ModuleNotFoundError, with the help of your instructions, and did the Optional step 10. fwiw, your instructions are quite good, again, not sure how I missed that one step. In fact, your instructions introduced me to creating a virtual environment, which I've gone on to read about the benefits of and actually used for something else today. I case you couldn't tell, I'm new to Linux - I've been teaching myself on the weekends for about a month with a Windows/Ubuntu dual boot.
For context, my interest/hope in your software is just to allow me to see what my Module 3 Pi Cam (my first one) is capable of (new to Pi too), and in the short time I've played with it it looks like it does exactly what I hoped. Honestly, it seems like a perfect companion for anyone buying a Pi Cam.
One thing it showed me was that I can pan in directions and zoom, which is what I'd like to do in Frigate (also new to me). I'm also currently reading through the picamera2-manual to see if I can configure my Module 3 Cam to maximize its capabilities in Frigate via MediaMTX.
One curiosity question, I was just wondering if you've ever thought about enabling RaspiCamSrv in a Docker container? btw, I have no idea how challenging that might be, so grain of salt with that suggestion. I ask because I've become pretty addicted to Docker since using Linux, I absolutely love it and docker compose, I even installed it on my Pi so I could install MediaMTX in a container - actually virtual environments kind of reminds me of it a little.
Anyway, thanks for your quick response, introducing me to virtual environments, and your cool software :)
Following the RaspiCamSrv Installation, when I followed step #14 (below) from my browser (http://:5000):
I got the following:
Possibly a missing step in the RaspiCamSrv Installation to a initialize the creation of the table? If so, what might that step be and should it be run from the virtual environment activated (I'm a bit new to virtual environments)?