Updated version asiSnap v1.2 go here:
http://zwoug.org/viewtopic.php?f=17&t=6876
Updated 2.des.2016 19
asiSnap Version 0.8 Released!
Font Size, Position and line width added
Known issues:
When Gamma is not (Default) value 50 there becomes a grid or something ???
asiSnap_v0.8.tar
asiSnapv08.png
------------------------------------------------------------------------
Updated 1.des.2016 07
Working Version 0.7 Released!
Brightness, Flip, Text and Gamma added
capture_011216_0741.tar
------------------------------------------------------------------------
Benchmark: after updated code from Yang
NB. ASIInitCamera ws removed while testing this because of compiling error
ZWO asi178mc Camera
Raspberry Pi 3
Default compression JPG=95, PNG=3
image | file | file | 10 images
type | type | size | in seconds
--------------------------------------
RGB24 | JPG | 660kb | 16 seconds
RGB24 | PNG | 4865kb | 18 seconds
RGB24 | TIF | 5078kb | 18 seconds
RAW8 | JPG | 1763kb | 10 seconds
RAW8 | PNG | 4193kb | 12 seconds
RAW8 | TIF | 3385kb | 11 seconds
RAW16 | JPG | 1012kb | 19 seconds
RAW16 | PNG |10347kb | 21 seconds
RAW16 | TIF |12779kb | 21 seconds
------------------------------------------------------------------------
Hello there
NB. This project are without GUI, no X-Server and suited for light-weighted and embedded systems when finished!
It was created as a All-Sky Camera Command Line Tool for Raspberry Pi 2 and 3
I have now trimmed down the SDK code from Sam's allsky.cpp and Thomas Jacquin's allsky.cpp to work with Minibian and Raspbian lite.
When everything is installed it uses 976MB on MicroSD, 34MB RAM on boot and 160MB RAM when running.
SOLVED by Yang - I have NOT been able to do multi threading, but I guess saving images in their own thread would be more effective?
Full Working Setup from clean image with minibian https://minibianpi.wordpress.com/download/
IMPORTANT! Remember there is no sudo installed on minibian image so you are running as root
Default username root and password raspberry
apt-get install -y raspi-config nano # I NOW use raspi-config to expand microsd and reboot
apt-get update # Update RPi
apt-get install -y libopencv-dev fbi # Install OpenCV and fbi image viewer
tar -xvf asiSnap_vX.X.tar # Extract all files to YOUR directory
cp libASICamera2.so /usr/local/lib # Copy this file to avoid error when compiling
ldconfig -v # Load config
./make.sh # compile capture.cpp to startCapture
reboot NOW !!!
./asiSnap # run compiled program for about 5 seconds and do CTRL+C
fbi -T 2 image.jpg # If connected by SSH with HDMI screen connected to RPi
fbi image.jpg # Run this if directly connected to RPi with HDMI screen
PS. When you have modified the capture.cpp code, just run ./make.sh to compile your code again and run ./startCapture program again with all the switches you like or need.
------------------------------------------------------------------------
This is what I need help with if someone can:
SOLVED by Yang - Make a new thread that saves images while new images are created
My short but true story!
I started learning C/C++ saturday 15.october.2016 when i found the article of Thomas Jacquin's Allsky camera on the web ;-)
http://www.instructables.com/id/Wireless-All-Sky-Camera/?ALLSTEPS