
Ask Slashdot: Open-Source Forensic Surveillance Analysis Software? 131
McBooCZech writes "I am trying to set up a surveillance system. It is not intended to build a real-time on-line surveillance system to watch a wall of monitors on a 24/7 basis. The main scope is to record video (24/7) from the fixed cameras around our facility and when needed, get back to pre-recorded video and check it for particular event(s). Of course, it is possible to use a human to fast forward through video using a DVR-type FF function for short video sequences. Unfortunately, for long sequences (one week), it is not acceptable solution. I was searching online the whole weekend for the open source software for analysis of pre-recorded video in order to retrieve events and data from recorded video but had no luck. So I ask you, Slashdotters: Can you provide some suggestions for forensic software to analyze/find specific events in pre-recorded video? Some examples of events: 'human entering restricted zone,' 'movement in the restricted zone,' 'light in the restricted zone.'"
First thing I thought of: (Score:5, Funny)
Something about an autoturret system for shooting squirrels with a watergun comes to mind...
Re: (Score:2)
Easy (Score:5, Insightful)
Zoneminder.
wxCam is easy, for small stuff (Score:1)
I agree, Zoneminder is a mess. Although, potentially powerful enough for a large system. For smaller stuff, I've used wxCam (which supports motion detection, supposedly) but the image (or my webcam) seemed to darken/degrade over time.
http://wxcam.sourceforge.net/ [sourceforge.net]
Re:Easy (Score:5, Informative)
Developing forensic video tools is hard, it takes a long time, it costs a lot of money, and takes it an enormous amount of testing and tweaking. So far only the big names in security video have adequate Intelligent Video, aka Video Analytics, offerings, Milestone, Lenel, Verint, Exacq, a few others. None of them are cheap, Exacq is probably the least expensive and easiest to use, but most limited. Some of the camera manufacturers have pretty good analytics available in their firmware, normally for an extra licensing fee. Pelco, Axis, Panasonic, some others that I haven't used. You need to configure the VMS (Video Management System) to be able to capture the events though, and not all are able. Again, you're back to the big names.
Join some of the forums on LinkedIn, especially CCTV Video Surveillance, IP Technology & Solutions. Yes, IAAPSP (Physical Security Professional)
Forensic. (Score:2)
By "Forensic", do you mean accepted by the courts? If not, what does "forensic" mean and what does it have to do with a tool's technical capabilities?
Re: (Score:2)
What I was referring to is the programs lack of the ability to analyze the video stream for desired activities, such as wrong-way traffic, package left behind, loitering, and the like. That's what is normally meant by 'video forensics', at least in the security field.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I worked with CCTV for a security company for a few years, and I really really really wanted to replace the sony/geovision/axis/aimetis-crap with some open source solution, but I just wasted time trying to get it (something with comparable features) working. Zoneminder is (unfortunately) very primitive, outdated and not compatible with many modern network cameras.
The proprietary junk is much better, at least for now.
Oh God! Let me Google that for you... (Score:1)
http://www.zoneminder.com/
ZoneMinder is highly componentised and comprises both the back-end daemons which do the actual image capture and analysis and a user friendly web GUI enabling you to both monitor the current situation and view and organise historical events that have taken place.
Re: (Score:1)
A few suggestions (Score:5, Informative)
http://code.google.com/p/openvss/ Open Platform Video Surveillance System
http://www.zoneminder.com/
Re:A few suggestions (Score:5, Funny)
From iSpy's uses and features page:
iSpy is PERFECT for ghost hunting and UFO spotting (actually the reason I wrote it in the first place...)
Sounds legit.
Re:A few suggestions (Score:4, Insightful)
Because no one has ever created something for a hobby then discovered it had a different, viable, commercial use.
Re: (Score:1)
My problem with iSpy is that the source code is gigantic for what it does and doesn't compile without a ton of work. So you're basically trusting some exe from a UFO nut. It also has network support, http server, etc built in. Does it have secret code that uploads your webcam to some IP address if it detects a ghost? Who knows.
Re: (Score:2)
Does it have secret code that uploads your webcam to some IP address if it detects a ghost? Who knows.
That seems relatively easy to check. All you need is a sheet, a pair of scissors, and traffic monitoring software on your router.
Re: (Score:2)
Re: (Score:2)
I use ispy for industrial automation type tasks when a butterfly flaps its wings and some weird anomaly pops up on one of the machines. Has a lot of features and works quite well
Re: (Score:1)
Get sensors to log events. (Score:5, Insightful)
Re: (Score:3)
Yeah - we've got a stack of mobotix cameras with PIR sensors.
Really cuts down on the noise if you're also doing motion detection - you can AND them together and only get motion from people (or hot objects - we use it to look for haul trucks)
Homeland security (Score:5, Funny)
Some examples of events: 'human entering restricted zone,' 'movement in the restricted zone,' 'light in the restricted zone.'"
Just tell Homeland security that some occupiers are planning a protest. They'll pay for the install and maintenance of your system. Every now and then, leave a deflated half-assembled tent in the parking lot...
Commercial likely your best option. (Score:3, Informative)
There are several brands I would recommend. Any of these can sell standalone servers or just the server software.
Exacq (www.exacq.com)
milestone (milestonesys.com)
Avigilon (avigilon.com)
Of those three, Avigilon has the better video handling, IMHO. Especially when working with 3, 5, or 16MP cameras.
All are somewhat comparable in price.
Re: (Score:3)
Most of these as well as a couple dozen others are available very cheaply. Even Costco stocks surveillance systems.
The problem might come with this requirement:
Of course, it is possible to use a human to fast forward through video using a DVR-type FF function for short video sequences
If these short sequence are the ONLY activity in the landscape, than any commercial system (under $500) will do. With the cheapness of these it really does not make sense to homebrew them.
On the other hand, if there is a lot of activity and you are only interested in finding a small segment where something is
happening, these, as well as any homebrew
Getting started (Score:2)
Is installation of cameras just plug and play? I've heard that you have to mess around with baluns. Is that right?
Also, what cameras to get? IR? Dome cameras or bullet? What mm should they be? How do you know?
What about viewing over the Internet? Also, how easy is it to hack them? Any additional security recommended?
How far should the low-voltage camera lines be from medium voltage (120 and 220 volt) lines to not cause interference?
Re: (Score:1)
Is installation of cameras just plug and play? I've heard that you have to mess around with baluns. Is that right? How far should the low-voltage camera lines be from medium voltage (120 and 220 volt) lines to not cause interference?
There are a lot of ways to answer this. Much is dependant on the types of cameras you are installing. Standard video cameras (which will be the cheapest) simply require a CCTV grade coaxial cable (RG59 or RG6) and an 18 Ga. 2 conductor. There is specially made cable that has both these combined together, called Siamese cable. You will be able to get approx 1000' out of RG59 and 1200-1400' out of RG6. At those extreme lengths, being anywhere closer than 2' to HV lines (especially 220V) may cause interfe
Re: (Score:2)
Yes! Motion can do this and much more.
How about no? (Score:2)
Re: (Score:2)
Why? Just like there's "significant, non-infringing applications" of DVD burners and the like -- there's perfectly valid reasons why someone would need to review their security tapes for activity.
And just like DVD burners, outlawing them because they could be used for something you disapprove of is a bad idea.
Or, are you suggesting we should withold all of our technical expertise based on what I can only assume is general paranoia that
Re: (Score:2)
I know how to do a lot of things I would not teach my own children how to do. It's really likely they'll figure these out on their own as I did, but it's best for the commonweal that I not help them do so now as the ability absent the guidance of experience could be harmful both to society and to them. Oddly enough having to earn that knowledge on their own is better for them too. From the stuff I have on hand in the house right now in common household goods I could make LSD, PCP, methamphetamine, Bath S
Motion (Score:1)
Not free but low cost: (Score:3)
http://www.bensoftware.com/securityspy/ [bensoftware.com]
and http://www.bensoftware.com/securityspy/features.html [bensoftware.com]
"SecuritySpy can send email notifications, play alarms, or run scripts when motion is detected."
Re: (Score:2)
Re: (Score:2)
Until the led ring fails, then its day only
Re: (Score:2)
Use CCTV as part of a security solution (Score:2)
Video analytics can only help out so much.
Realistically, video analytics can and often does present a lot of false positives, so its not the be all and end all to security.
I would not rely solely on CCTV for any half decent security solution, purely because it only offers after the fact protection.
What I would be asking is what events are you specifically looking for ?
I would honestly suggest you use CCTV as part of a security plan, and not using it as your only plan.
Access Control systems can log who, when
motion can handle most of things. (Score:1)
Multiple webcams:
http://ubuntuforums.org/showthread.php?t=1897786 [ubuntuforums.org]
Motion can be told to act on or ignore a light switching off/on using a threshold.
It can be setup to detect large or small amounts of motion and long or short periods of time before triggering.
I'm not sure about singling out specific parts of the screen as triggerable/not triggerable.
Re: (Score:2)
Yeah, I second that motion... probably the best software video monitor. Just point it at a V4L2 device, and it'll fill up a directory of still images or short .mov or .swf videos of everything interesting that happens in front of it. Very tunable.
I had it looking out my window for a long time, so you can see snippets of cars driving by, and people walking up to and away from your door. Also had it aimed down the hallway to my computer room at one point, so you can see everyone enter and leave. You can co
Re: (Score:2)
*ahem*
"Just point it at a V4L2 device" != analyzing video from fixed cameras around a facility.
Motion is cool. Motion is not an appropriate answer for TFS (TFA?).
(That said: Thank you for reminding me about Motion. I've recently had need to set up a simple, single recording webcam in my house with motion detection, for free or cheap, and had forgotten all about it. I have a USB camera scavenged from a broken HP laptop which is easily concealed.
But for the level that the poster is asking about, involving
Re: (Score:2)
I don't know anyone in security that doesn't want a continuous recording of the video.
Perhaps I'm misunderstanding, and these cameras provide a continuous recording, plus automatically upload selected highlights - that's pretty cool. If they're ONLY recording "interesting things" - that's not good (for me).
Re: (Score:2)
Yeah, yeah you can configure motion to just log pictures / video at regular intervals, and then log more / at a higher framerate when it detects some threshold of activity. Then you can show your boss that something wasn't happening at a particular timestamp as well.
Re: (Score:2)
Yes, you're misunderstanding. They can do that too. Or talk to a proper DVR system. Or combinations of these things, like always record lower-quality video (storage, bandwidth) and record higher-quality video when something interesting happens and send a series of stills out via email.
It's almost as if someone had thought of this stuff before you did.
Re: (Score:2)
Re: (Score:2)
Yeah, I should have put my last paragraph first.
Hey, another interesting idea! Toss all your streams through a VLC VBR streaming encoder and monitor the bitrate. Then you can graph it using something like ntop or a munin plugin and see the peaks during the timestamps that some movement is happening. If the camera records and streams h.264 instead of mjpeg, then you might not even need the VLC part...
Yeah, yeah, it's a hack. Just trying to manage expectations this time :P
Out of price range, yet cool (Score:1)
Re: (Score:3)
Yeah, I used to work with a lot of those people from Autometric. They used to have a cool Star Trek LCARS interface. They were trying to sell it to do airport security, and had some pretty nifty 3D models that showed the coverage field of every camera. It was more geared to giving you realtime alerts of stuff that's happening on cameras and sensors, though.
It was a spinoff of EDGE, which was pretty much that 3D Earth sensor fusion thing from Snow Crash that was around on SGIs and big iron before being po
Zoom .. Refine (Score:5, Funny)
What I want to know is where I can get the one that allows you to zoom in infinitely and refine a sharp image out of a few pixels.
Re: (Score:1)
The word you are looking for is "Enhance."
Re: (Score:2)
Re: (Score:2)
What is this, the 1980's? A modern CSI Enhance Button can zoom into the perps DNA helix merely from a reflection in a hub cap and extract a portrait of their entire family.
Re: (Score:1)
Re: (Score:2)
Some people say CSI created the world. We're just the playback of an intricate global surveillance network's recording. Only mirrored for clarity. And enhanced.
computer vision systems (Score:4, Informative)
What you are asking for is a computer vision system. Typically there are parts, but no complete Open Source implementation of what you want, unless you are willing to assemble them yourself, and accept somewhat less than commercial quality.
Here's the most comprehensive resource: http://www.roborealm.com/links/vision_software.php [roborealm.com]
Movid is the part you want for human tracking; typically these systems are going to require parallax cameras, meaning binocular vision, for some of the recognition.
nt (Score:2)
Try training a neural network to recognize patterns.
You could also have a rotation of shifts of humans responsible for each segment and have them reviewed in parallel.
Troll (Score:2)
WTF is wrong with the editors, this is an obvious troll post with bullshit question. In about 3-seconds it takes to type open source video recording you get all the answers out of Google. Douchebag poster and double-douchebag for the editor who approved this non-story.
Slashdot is now a corporate non-story advertising medium full o
Re: (Score:3)
Background Subtraction! (Score:1)
Simple and Hard (Score:2)
Easiest way (Score:1)
The easiest way is to combine it with running an event based system in parallel such as the hydra control freak. This will let you record just the events based on
sensors placed in the correct places external to the camera. You can then view just the events very easily and if one warrants further investigation relate the time back to your 24/7 based recorder. Using PIR, IR beam or other systems in the protected zone will provide much more reliable intruder detection that trying to do video content analysis,
RetilNext (Score:1)
Kestrel (Score:2)
Re: (Score:1)
Not nuff said, where can I find this Kestrel. A google search learns me that it is a bird or a starship from Star Trek.
Can I have a typewriter that lets me write letters (Score:1)
QSee has options (Score:1)
My QSee from Costco has zones that you set up by drawing a mask on a grid atop the video for each camera to show which spots in the view that you care about, such as the sidewalk on a grassy lawn or front door on a house, and when something comes into that field of vision, the DVR marks a list of "events" where something entered that specific zone. You search by events per camera, not by human recognition or anything fancy, so motion triggers an event and in quiet areas there are only a handful of motion ev
web (Score:1)
I would go for Mobotix (Score:1)
They have very nice camera's and the software you get for free with it.
http://www.mobotix.com/content/view/full/1723 [mobotix.com]
WTF? (Score:2)
Why are you going back in time for analysis?
There's a plethora of products that record (DVR-style) with analytics for the stuff you're asking about, but they all do it in real-time as it happens. Milestone comes to mind, as do Panasonic's offerings.
Why do they work this way? Because if it were that important, you'd want to know right away, not a week later when you get around to it.
Failing that, if visually scanning a weeks' worth of video is taking too much time to be worthwhile, then perhaps you need to
Re: (Score:2)
Why are you going back in time for analysis?
I'm picturing trailcams as used by hunters. They're just ruggedized digital cameras. Some of them even have the LCD part of the camera inside a clamshell so you can review the video up a tree or what have you, without needing an additional device. To my mind it would be better to have wifi so I can just pull the video from the device once I get into range, and the owner could install a massive antenna if they chose to do so. Maybe build a mesh network, have them wake up and chat with one another on a schedu
Re: (Score:2)
You get what you pay for (Score:2)
I see, so when you say Open Source what you really mean is Free because this has nothing to do with using and contributing something back. Otherwise you would have said so.
For example, you could donate to the programmers who make the software that you decide to use. You could have an interesting custom requirement that you could make a module for and release as OSS. Or you could find and fix bugs or documentation for
Re: (Score:1)
Re: (Score:2)
Not all Free software is open source and not all open source is free. It seems to me that your only concern is that the software is free; that's how you phrased it.
Yes, I think if your company uses open source software then you should try to give something back because you are a commercial user and you are no doubt saving a bundle of money.
Vitamin D (Score:1)
Necessary plug here (Score:2)
There is a product called Vindex which is specifically designed for "indexing" video. It intelligently collects up "events" and displays a gallery view (bunch of thumbnails) representing these events. By "intelligently" I mean that it isn't just looking at raw differences between frames but does considerably more math to eliminate false positives.
It can also process video at up to 60x normal playing speed, which means analysis of a night's worth of video takes a few minutes. Compared to just playing at h
Rhymes with... (Score:2)
Okay, so yet again, another Slashdot question along the lines of this:
"I have something that I want to do that is demanding, and which at its core uses technology that had to be specially developed to fill a niche. But I don't want to pay for it." *waves open-source flag* "How about something open-source? Can you guys do the legwork for me and tell me how to get this for fre*backspaces a lot* using open-source?"
I favor open software and open standards. But don't you think that if it takes a bit of hard
Re: (Score:2)
When was the last time you sent Linus Torvolds a check? If people want to write and offer Open Source code for free, why would you feel the need to complain about it, especially given the fact that the answer to my question is undoubtedly that you never have sent Linus a check.
Re: (Score:2)
When was the last time you sent Linus Torvolds a check? If people want to write and offer Open Source code for free, why would you feel the need to complain about it, especially given the fact that the answer to my question is undoubtedly that you never have sent Linus a check.
And...you entirely missed every point I stated. Nothing I said was anti-open-source. I even stated that I favor it. But you need to be realistic as well. And it's a well-known fact that even open source is supported by commercial enterprises. I've bought Transmeta processor-driven devices in the past, for example. So yes, I have sent Linus Torvalds a check.
Have you?
Re: (Score:2)
Re: (Score:2)
I'm pro-open-source for the reasons that open source is good...openness. I'm anti-people-wanting-a-free-lunch, which is all this topic is really about. He doesn't care about openness, he just wants something for free. Open source is not about getting something for nothing, it's about sharing information so that things may progress and the common good can be served. But apparently, you're not intelligent enough to grasp the difference.
So...noticed you didn't answer my question about sending Linux Torvald
Re: (Score:2)
If you possessed a modicum of intelligence combined with a true understanding of the myriad reasons why different people choose Open Source as a development paradigm and as their software solutions, you would ... ironically ... realize what a true moron you are.
I
Re: (Score:2)
Ooh, big words like "modicum." I'm impressed. I'll let the modding history of my comments versus yours stand as third-party assessment of who grasps things more fully here. And I recognized that your question was intended to be rhetorical, but surprise...there was actually an answer other than the one you assumed to be valid, and which directly tapped into what my point was about commercial enterprises being the basis of financial support for all...not most, all..large open source projects.
Re: (Score:2)
Plonk!
Some thoughts. (Score:1)
I'm not entirely sure that what I'm about to recommend will hit a home run for you, but I wanted to throw it on the table anyway so you can review your options and see what works for you.
I run video surveillance at home. I have two outdoor cameras mounted in hidden locations which watch the front door and back door of my house. (my house is on a corner, so in some way shape or form both the front and back door is visible in some way from the street) I did this after a package went missing on my door step th
Re: (Score:1)
You are looking for Artificial Vision Systems (Score:1)
Hello,
In short if you don't want to keep reading: OpenCV + IP cameras (and a lot of work).
Now if you actually want to keep reading:
I am Leonardo M. Rocha and I have worked as software engineer in the research area of in this kind of systems for 3 years in this team: https://team.inria.fr/stars
You can check some publications on the subject here: https://team.inria.fr/stars/publications/
There is no right answer, it all depends on your particular system, what it actually has to do, the light conditions, the a
Record and use ZoneMinder set to 'Modect' (Score:2)
I use ZoneMinder with most cameras set to 'Modect' so video is saved only when motion meeting my criteria has been detected.
ZoneMinder presents an array displaying the number of events recorded by each camera in the last hour, day, week and month.
If you also kept your 24/7 recordings you could use the ZoneMinder events to pinpoint where/when to go look in your video archive.
Turnkey solution works for you? (Score:2)
http://newtonlabs.com/machviz_quadcam.html [newtonlabs.com]
solutions (Score:2)
I've some professional experience with camera systems and I can echo/add the following - 1) use multiple types of sensors. Zigbee based devices, or for a larger office building type scenario something like ubiquiti's mFi. Most cameras have I/O and many have an SDK you can mash up something that fits your exact needs but watch out for 2) all these camera companies have complicated learning curves for their hardware, few on-line support communities compared to other hardware categories I work with, little
motion? (Score:2)
It's not quite clear to me what you want to do... but here at work, we have a number of cameras in our server rooms, um, sorry, "computer labs", running 24x7x265.25, on servers running Linux. On that, we have motion taking the feed, and when motion is detected, whether it's people, or the lighting blinking, or too many clouds alternating with sun, and it sends the video in an email.
Will that do what you want?
mark
Motion (Score:2)
Some thoughts. (Score:3, Informative)
To start, ZoneMinder is a project that I have a soft spot for. It's a very complex application that works moderately well than even some brand new proprietary solutions out there today. That said, ZoneMinder has to go through a monumental facelift before I would consider using it again. Last I used it, it would run for a few minutes then just stop recording and populate thousands of errors in my syslog. ZoneMinder has had some recent developer activity with some individuals who are taking it upon themselves to do work on it and patch it accordingly. The problem is, these individuals don't have access to patch the core version in the repos. I wouldn't be surprised if a large update comes out soon or that ZoneMinder gets forked under a different name with all of the updates. Either option is possible. That said, ZM isn't my software of choice at the moment.
Instead, I use Motion. Just a quick disclaimer, Motion is admittedly not for Grandma Edna who never used Linux before. It's something that requires a little bit of setup. It's a daemon, not a GUI. You have to create the directories for each camera feed. You have to adjust all of the parameters you want within the config file. You have to lay down the initial foundation upon which Motion will run on. If you want some insight with getting started, have a look at my YouTube tutorial I set up a few months ago. http://www.youtube.com/watch?v=NwDLkMPLTw0 [youtube.com] (take note there's also a Part 2)
Motion works by watching the MJPG stream of your camera and taking snapshots accordingly. Those snapshots can be configured to stay regular JPG's, or you can turn off JPG's all together and have the system stitch them into an avi file and have more of a video-esque playback. Because MJPG isn't that fantastic with compression, it's literally impossible to have a flawless amazingly epic jaw dropping 3000 FPS feed that looks like BluRay quality. MJPG is solid, but it's not something you would want to be running as a traffic cam where every second makes a tremendous difference. The reality is when it comes to surveillance footage, it only takes a single JPG to really capture the face of a crook. MJPG is very well suited for things like that, so running an MJPG setup at 2, 5, 7, 10 FPS, whatever it may be could very well be a home run.
As I said, Motion has no GUI. You may be wondering, but wait, I want to have a montage of all video feeds actively running. You can do that relatively easy, but it'll take a little bit of leg work. Here on the Motion FAQ I posted some ideas as to what you can use to create your own montage. This will be very basic with no additional features, but you'll see all cameras running at once. Likewise, you can click on each feed to see it full screen. I built my own motion.html file and just keep it saved locally and open it in a web browser when I want to have view. I use Method 2, but each one should serve its purpose: http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions#How_do_I_see_more_than_one_camera_stream_at_a_time_63 [lavrsen.dk]
I personally run dual streams. I have Motion running at 1 FPS with the MJPG stream of my cameras which saves the JPG's accordingly to the specific directory for that camera... meaning my camera out front will save the JPGs in
MTI -- Moving Target Indicator (Score:1)
Re: (Score:2)
Re: (Score:1)
Hire a fourth watcher to watch the watchers, in case they sleep or masturbate.
Pay this watcher $1 more per day.
Re: (Score:2)