이번에 간단한(or 복잡한) 프로젝트를 하나 진행하게 되었다. 물론 현재 대학원에서 연구 차원에서 진행하는 프로젝트...쩝
기능중에 CCTV와 유사한 모니터링의 기능이 필요하게 되어서 참고할 만한것을 찾다가 역시.. Linux 기반의 ZoneMinder를 찾게 되었다.
ZoneMinder: http://www.zoneminder.com (The all-in-one Linux GPL'd security camera solution)
기능은 다음과 같다.
|
ZoneMinder의 요구사항은 다음과 같다.
- Pentium II PC should be able to track one camera per device at up to 25 frames per second
- MySQL
- PHP Package for WEB Based Service.
- JPEGs so you'll need at least libjpeg.a
- MPEG videos if necessary, for this you'll need either ffmpeg (recommended)
참고로 자세한 H/W 리스트는: http://www.zoneminder.com/wiki/index.php/Supported_hardware
아마 각 배포판마다. ZoneMinder패키지가 적용된것도 있을 듯.. 찾기 귀차니즘. ㅎ (하지만 곧 찾아야 될듯...)
ZoneMinder is not a single monolithic application but is formed from several components.
소스의 구조는 각각의 컴포넌트 형태를 뛰고 있다.
간단히 보면. 아직 소스구조는 확인하지 못함. 귀차니즘..
zmc: This is the ZoneMinder Capture daemon. This binary's job is to sit on a video device and suck frames off it as fast as possible, this should run at more or less constant speed.
zma: This is the ZoneMinder Analysis daemon. This is the component that goes through the captured frames and checks them for motion which might generate an alarm or event. It generally keeps up with the Capture daemon but if very busy may skip some frames to prevent it falling behind.
zmf: This is the ZoneMinder Frame daemon. This is an optional daemon that can run in concert with the Analysis daemon and whose function it is to actually write captured frames to disk. This frees up the Analysis daemon to do more analysis (!) and so keep up with the Capture daemon better. If it isn’t running or dies then the Analysis daemon just writes them itself.
zms: This is the ZoneMinder Streaming server. The web interface connects with this to get real-time or historical streamed images. It runs only when a live monitor stream or event stream is actually being viewed and dies when the event finishes or the associate web page is closed. If you find you have several zms processes running when nothing is being viewed then it is likely you need a patch for apache (see the Troubleshooting section). A non-parsed header version of zms, called nph-zms, is also installed and may be used instead depending on your web server configuration.
zmu: This is the ZoneMinder Utility. It's basically a handy command line interface to several useful functions. It’s not really meant to be used by anyone except the web page (there's only limited 'help' in it so far) but can be if necessary, especially for debugging video problems.
zmfix: This is a small binary that exists only to ensure that the video device files can be read by the main capture daemons. It is often the case that these device files are set to be accessible by root only on boot. This binary runs setuid and ensures that they have appropriate permissions. This is not a daemon and runs only on system start and then exits.
스크린 샷... (홈페이지에 있는 거임..)
기능이 참 많은게 아주 고맙다. 잘 분석해 보아야 겠다... 언제나 오픈소스에 감사를...
'예전글 목록' 카테고리의 다른 글
Cygwin상에 최신 버전의 TinyOS 1.X 2.X 설치하기 (2) | 2009.02.27 |
---|---|
Incorporating IEEE 802.15.4 into the IP architecture (0) | 2009.02.26 |
위치기반의 10가지 응용 프로그램 [wired.com] (0) | 2009.02.24 |
스타크래프트를 가르치는 대학? (0) | 2009.01.31 |
영구적으로 쓸수 있는 센서 키트! (0) | 2009.01.22 |