Acceessible direct from browser without additional web server. http://IP:PORT/?html
Light weight camera designed to run on small ARM Linuxes. Plays animated jpg in the browser, Captures images when senses motion, or at certain interval based on settings. Scripts to configure a Linux ARM board equiped with a wifi into an camera wifi access point. Check each script before running in. Questions, just ask.
apt-get install lighttpd
apt-get install php5
apt-get install php5-gd php-cgi php-gd
sudo lighttpd-enable-mod fastcgi
sudo lighttpd-enable-mod fastcgi-php
sudo /etc/init.d/lighttpd force-reload
git clone https://github.com/comarius/liveimage
sudo apt-get install libv4l-dev
sudo apt-get install libjpeg-dev
sudo apt-get install libpng-dev
sudo apt-get install v4l-utils (optional to adjust luminosity)
cd liveimage
cmake .
make
sudo adduser $USER video
# create a folder /data/snaps
sudo mkdir /data/snaps
sudo chown $USER:USER /data/snaps
# eventually mount a separate SDD drive to /data/snaps
# start liveimage
cp liveimage ./bin
cd bin
./liveimage
- HP x86_64 Linux with incorporated webcam
- R-PI 3 with USB Camera
- Nano Pi with USB camera and wifi USB dongle supporting AP
- C.H.I.P with USB camera. The USB cable was changed to allow external power to USB camera due camera higher amperage
The configuration file should be placed in the running folder. The file has only one secion. [main] The settings are: (ask fo rmore details...)
make a page
<html>
<head>
</head>
<body bgcolor="#E6E6FA">
<center>
<?php
echo "<img width='320' src='http://{$_SERVER['HTTP_HOST']}:9000/?image' />";
echo "<img width='320' src='http://{$_SERVER['HTTP_HOST']}:9000/?motion' /><hr />";
?>
</center>
</body>
</html>
http://localhost:90000/?html
http://192.168.1.219:9000/?live
http://192.168.1.219:9000/?motion
- Only for Home users / home projects.
- Not for commercial products, any parts of the code or entirely as s product.