Skip to content

jucoba/IpCamMonitorSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IpCamMonitorSystem

NOTE: There is still no code here, I'm just bulding it

A headles python program to monitor the activity of the ip cammera. Draft version, only works with Foscam FI8905W

UsefulLinks

Foscam API: http://www.foscam.es/descarga/ipcam_cgi_sdk.pdf

How to pull H264 video from IP camera (Doesn't work with FI8905W because is not a H264): http://blog.mikemccandless.com/2013/11/pulling-h264-video-from-ip-camera-using.html

SimpleCV Installation: https://simplecv.readthedocs.org/en/latest/HOWTO-Install%20on%20RaspberryPi.html?highlight=opencv

SimpleCV on Rasbberry: Installation on my raspberry failed so I had to use this workaround: http://www.raspberrypi.org/forums/viewtopic.php?t=56103&p=460672

SimpleCV Cookbook: https://simplecv.readthedocs.org/en/1.1/cookbook/#

avconv: http://www.recantha.co.uk/blog/?p=4106

Installation

Install SimpleCV: See above link for more details

	sudo apt-get install ipython python-opencv python-scipy python-numpy python-setuptools python-pip
	sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
	sudo pip install svgwrite (if you the error: missing dependency svgwrite)
	apt-get install libav-tools	

Install nose: https://pypi.python.org/pypi/nose/

	sudo apt-get install python-nose

Install Mock: https://pypi.python.org/pypi/mock#downloads

	cd [extracted mock path]
	sudo python setup.py install

Run test

	nosetests

Run test with junit format

	nosetests --with-xunit

Web Server

A Web server is provided wich tirgers an alarm sound when motion is detected

to use

	Activate the http motion alarm
	1. Log as admin to the camera web interface
	2. In the same browser request  http://[your_cam_ip:port]/set_alarm.cgi?motion_armed=1&http=1&http_url=http://[your_server_ip:port]	

	run
	python src/webServer.py

About

A headles program to monitor the activity of the ip cammera. Draft version, only works with Foscam FI8905W

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages