RobboRob / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
26 stars 9 forks source link

Image resize options (to alleviate binning limits) #6

Open robertpascale opened 4 years ago

robertpascale commented 4 years ago

I am proposing that with binning modes as referenced in Issue #5 effectively limiting us to use Mode 3 for night time images, that an option be added to allow resizing (probably 2x2 and 4x4 for consistency) of the output image, in order to save space (6-7Mb images from 1x1 binning cause a 32Gb card to be filled in a matter of a few days).

Additionally, this should really only be necessary in NIGHT mode, as during the day, automatic exposures and full 1x1 binning is better, and as the images are not being stored, do not pose a space risk on the SD card.

DarKOrange75 commented 4 years ago

Excellent idea Robert.

RobboRob commented 4 years ago

I will look into this when i return from my vacation, internet is sooo bad here in France that i can hardly read a webpage...

I’ll be back sunday 9th of August...

DarKOrange75 commented 4 years ago

Great, disconnect a little bit and enjoy your vacation ;-)

RobboRob commented 4 years ago

Btw i have a 128gb card in my RPi working. It was a bit tricky to get it working but it provides enough space to preserve f or images and video’s for a couple of weeks...

DarKOrange75 commented 4 years ago

Yes me too, a 128 Go Sandisk Extrem Pro, very fast.

robertpascale commented 4 years ago

In terms of documenting the likely size requirements, maybe we can provide some estimations for documentation. My 32Gb card uses about 8Gb for the OS and software. I'm in mid-winter in Australia, so the nights are long. I can get three full night's worth of images (30 second exposures) before the card fills up. The 4th night barely produces any images before the card is full. I'm setting the auto-delete threshold to 2 days to guarantee I have a buffer of one day. I also push this timelapse data to a separate website by FTP, so this is not really a problem to keep short retention.

RobboRob commented 3 years ago

I would really recommend a large SD card instead of changing the behaviour of the software. The price of the SD cards is soo low it is hardly worth the effort of changing the software...