Salmon-Computer-Vision / salmon-computer-vision

MIT License
8 stars 1 forks source link

Configure to stream to harddrive #37

Closed KamiCreed closed 1 year ago

KamiCreed commented 1 year ago

Both Jetson's should save the files to the harddrive attached to the raspi. Could use SSHFS and see how that goes.

KamiCreed commented 1 year ago

The BARLUS cameras have an HTTP API, so I can technically change any of the camera settings by executing the right API from any device. It does not require a Windows or Mac machine to interface with the camera to change the settings.

KamiCreed commented 1 year ago

I found how to save the lighting settings. It's a little hidden in the PTZ settings where you needed to input a value of 250 and press the "Call" button. It's outlined in the manual.

KamiCreed commented 1 year ago

Seems when the raspi is offline, the sshfs folder is reverted back to normal, which unfortunately allows the recording to continue and not reconnect to the rapsi when it comes back online.

A solution may be to set the permissions of the folder to deny writing unless it's created with sshfs.

KamiCreed commented 1 year ago

Fixed an issue where artifacts were appearing due to the delay between processing and grabbing a new frame from the camera. I instead parallelized the frame grabbing and processing to hopefully prevent this issue.