Using motion detection and line crossing together

YasMan

n3wb
Aug 29, 2016
5
0
Hi guys - is it possible to setup both motion detection and line crossing events on a Hikvision camera (with both events recording to SD card), but only receive notification alerts for the latter?

In essence, I’d like to setup a camera to watch the front of our house, using motion detection to record whenever someone walks past, along with line crossing detection to record whenever they enter our front garden, but only receive push/email alerts for the line crossing events - is that do-able?

Also I’m planning to purchase the 4MP DS-2CD2442FWD-IW cube camera (http://www.hikvision.com/europe/Products_accessries_161_i18393.html) and place it behind the living room window looking out onto the front garden. I realize this isn’t ideal (and poses IR issues through glass) but unfortunately I am unable to mount an outdoor camera at this time so have to use an indoor unit looking out of the window for now. Does anyone have any thoughts on this camera and whether pointing it out the window will/won't work?

Thanks in advance.
 
typically you can only have one motion processing system enabled at a time.. so you have to pick one and forget about the rest.. they dont have enough horsepower to do object tracking and motion sensing at the same time inside the camera.

You will have to disable IR entirely to look through a window.. so dont expect anything useful at night unless you have adaquate external illumination
 
Pointing it out of a window will be near on useless at night. The day quality isn't good either. Well it's good if you think Sricam is quality, so some people say it's good.

If you have no choice... No chance of putting a 2MP wireless or powerline one up? I'm guessing it's cabling that's the issue
 
  • Like
Reactions: YasMan
Thanks for the responses guys. That's a bummer about having only one motion processing system available, but it makes sense. I guess the only real alternative would be to install two cameras, but that would be cost-prohibitive :(

I definitely would want the IR - I was thinking that if I angle the camera enough, then the IR wouldn't bounce back into the lens? I've read that a few people have had success with that, or they've used a separate IR light pointing through the window.

Re the outdoor camera, you're right Del Boy, I can't run any cabling through the brickwork, otherwise that would solve the issue.

Do you guys have any other thoughts on how my goal could be achieved without an external camera/light? Are there any better cameras than the Hik 2442 cube camera for this sort of scenario?
 
Last edited by a moderator:
That's a bummer about having only one motion processing system available, but it makes sense. I guess the only real alternative would be to install two cameras, but that would be cost-prohibitive :(
Just to correct any misunderstanding - this is a log from an NVR that only does event recordings, channel D2 is a DS-2CD2432 - it's inside the house, that's why the events are so frequent.
NVR_3.4.80_6.jpg
 
  • Like
Reactions: YasMan
Just to correct any misunderstanding - this is a log from an NVR that only does event recordings, channel D2 is a DS-2CD2432 - it's inside the house, that's why the events are so frequent.
View attachment 12942

That looks promising! So just to confirm, you have motion detection, line crossing and intrusion detection all enabled at the same time? If so, is that only possible with an NVR or could the cameras do that alone? Thanks!
 
also what firmware? iirc they nerfed linecross on newer versions because of performance reasons.. could be a difference in version w/Hikvisions history of removing as much as they add.
 
  • Like
Reactions: YasMan
That looks promising! So just to confirm, you have motion detection, line crossing and intrusion detection all enabled at the same time? If so, is that only possible with an NVR or could the cameras do that alone? Thanks!
The camera creates the basic events and smart events according to how you configure them for positioning, sensitivity etc and sends notifications to the NVR etc based on how you configure the arming schedule and destinations.
Then the NVR takes whatever actions, such as recording, in response to these notifications, based on what actions you configure in the NVR.


iirc they nerfed linecross on newer versions because of performance reasons..
Certainly after 5.1.6 on the R0 series Hikvision dropped the 4 lines of line crossing down to just 1 as the higher processing burden affected log-term stability.
Here is an activity snapshot of the DS-2CD2432 feeding 2 Hik NVRs and also QNAP Surveillance Station - it is keeping pretty busy.
Much better are the DS-2CDxxx5 cameras with their 3516a SoC - several times the processing power for both the DSP and the CPU. They just idle along quite nicely.

Code:
CPU: 41.6% usr 26.5% sys  0.0% nic 28.6% idle  0.0% io  0.0% irq  3.0% sirq
Load average: 4.58 4.52 4.35 1/176 27789
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  846     1 root     S <   426m456.6   0 67.7 /home/davinci
  991     2 root     SW       0  0.0   0  1.0 [RTW_CMD_THREAD]
27785 27784 root     R     3072  3.2   0  0.9 top
  837     1 root     S    22388 23.4   0  0.3 /home/process/net_process
    4     2 root     SW       0  0.0   0  0.3 [kworker/0:0]
  832     1 root     S     7092  7.4   0  0.1 /home/process/daemon_fsp_app
27783   616 root     S     2856  2.9   0  0.1 /sbin/dropbear
  988     2 root     SW       0  0.0   0  0.1 [ksdioirqd/mmc1]
    5     2 root     SW       0  0.0   0  0.1 [kworker/u:0]
27784 27783 root     S     3072  3.2   0  0.0 -sh
  613     1 root     S     3072  3.2   0  0.0 -/bin/sh
    1     0 root     S     3068  3.2   0  0.0 init
  612     1 root     S     3068  3.2   0  0.0 /sbin/inetd -f -e /etc/inetd.conf
  614     1 root     S     3068  3.2   0  0.0 init
  616     1 root     S     2500  2.6   0  0.0 /sbin/dropbear
  836     1 root     S     2072  2.1   0  0.0 /bin/execSystemCmd
  387     1 root     S <   1996  2.0   0  0.0 /sbin/udevd -d
  990     2 root     SW       0  0.0   0  0.0 [RTW_XMIT_THREAD]
    3     2 root     SW       0  0.0   0  0.0 [ksoftirqd/0]
  718     2 root     DW       0  0.0   0  0.0 [dsplogd]
#
 
typically you can only have one motion processing system enabled at a time.. so you have to pick one and forget about the rest.. they dont have enough horsepower to do object tracking and motion sensing at the same time inside the camera.

I have a couple of R0 cameras here where I run Motion, Intruder detection and Line Cross together. I then "and" gate them together in the VMS such that all 3 have to trigger for the VMS to record an event. So the R0 cameras certainly have enough horsepower to run one of each. I've tried this on 5.2.3, 5.2.5 & 5.3.0 firmware.

I do the same thing on some R3 & R4 cameras, but it's no stretch for them. One thing the R0 cameras don't do is highlight the object when you have rule evaluation enabled, but they certainly trigger on it. They at least highlight motion so you can fine-tune that a bit (as much as you can fiddle with stuff and it sometimes has some results).

Hikvision analytics are a complete joke, but that's another story altogether.
 
  • Like
Reactions: YasMan
Thank you guys, this is great info. So as long as I have the correct firmware I should hopefully be ok with the multiple detection events.

Speaking of cameras, I saw the 3MP DS-2CD2432 on ebay for £79 from China, which is around £60 cheaper than the newer 4MP 2CD2442 in the UK, so I'm wondering if it's worth saving the extra and going for the 2432 instead? Here is the link (I will remove if not allowed to post links):

http://www.ebay.co.uk/itm/Hikvision...112198?hash=item4af5f5e2c6:g:J80AAOSwWnFV974f

I have read a few posts on here regarding firmware issues with the Chinese versions, but this one says it says is has a multi-language 5.2.x firmware so I'm hoping it's a) in English and b) allows for multiple detection events. I will contact the seller to verify but in the meantime, what do you guys think?
 
As an eBay Associate IPCamTalk earns from qualifying purchases.
typically you can only have one motion processing system enabled at a time.. so you have to pick one and forget about the rest.. they dont have enough horsepower to do object tracking and motion sensing at the same time inside the camera.

You will have to disable IR entirely to look through a window.. so dont expect anything useful at night unless you have adaquate external illumination

Sorry for the newb question but I have a Hikvision 4MP cube pointed through a very clean window (it's pressed right up against it). Vision is pretty good but I can't seem to get motion detection working. Is there a nice tutorial for this and is the problem likely to do with the glass? Nayr mentioned disabling IR. What's the right way to do this? Set Image to Day?
If that's done will motion detection or line crossing be able to work. I'm more interested in recording motion detection events during the day anyway. Any help appreciated.
 
but I can't seem to get motion detection working.
What settings have you used?
For example - Basic Event | Motion Detection - set the area, enable the tickbox
Then in the camera or NVR (depending on what storage is to be used) Storage Schedule, Schedule type, Enable Schedule.

And what is the camera connected to for storage of the recorded clips?
 
The camera creates the basic events and smart events according to how you configure them for positioning, sensitivity etc and sends notifications to the NVR etc based on how you configure the arming schedule and destinations.
Then the NVR takes whatever actions, such as recording, in response to these notifications, based on what actions you configure in the NVR.
Certainly after 5.1.6 on the R0 series Hikvision dropped the 4 lines of line crossing down to just 1 as the higher processing burden affected log-term stability.
Here is an activity snapshot of the DS-2CD2432 feeding 2 Hik NVRs and also QNAP Surveillance Station - it is keeping pretty busy.
Much better are the DS-2CDxxx5 cameras with their 3516a SoC - several times the processing power for both the DSP and the CPU. They just idle along quite nicely.

Code:
CPU: 41.6% usr 26.5% sys  0.0% nic 28.6% idle  0.0% io  0.0% irq  3.0% sirq
Load average: 4.58 4.52 4.35 1/176 27789
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  846     1 root     S <   426m456.6   0 67.7 /home/davinci
  991     2 root     SW       0  0.0   0  1.0 [RTW_CMD_THREAD]
27785 27784 root     R     3072  3.2   0  0.9 top
  837     1 root     S    22388 23.4   0  0.3 /home/process/net_process
    4     2 root     SW       0  0.0   0  0.3 [kworker/0:0]
  832     1 root     S     7092  7.4   0  0.1 /home/process/daemon_fsp_app
27783   616 root     S     2856  2.9   0  0.1 /sbin/dropbear
  988     2 root     SW       0  0.0   0  0.1 [ksdioirqd/mmc1]
    5     2 root     SW       0  0.0   0  0.1 [kworker/u:0]
27784 27783 root     S     3072  3.2   0  0.0 -sh
  613     1 root     S     3072  3.2   0  0.0 -/bin/sh
    1     0 root     S     3068  3.2   0  0.0 init
  612     1 root     S     3068  3.2   0  0.0 /sbin/inetd -f -e /etc/inetd.conf
  614     1 root     S     3068  3.2   0  0.0 init
  616     1 root     S     2500  2.6   0  0.0 /sbin/dropbear
  836     1 root     S     2072  2.1   0  0.0 /bin/execSystemCmd
  387     1 root     S <   1996  2.0   0  0.0 /sbin/udevd -d
  990     2 root     SW       0  0.0   0  0.0 [RTW_XMIT_THREAD]
    3     2 root     SW       0  0.0   0  0.0 [ksoftirqd/0]
  718     2 root     DW       0  0.0   0  0.0 [dsplogd]
#
[/QUOTE
Reminds me of the specs found in my sister-in-laws husband's computer. He stalked her and their daughter in the divorce. I don't think it did him any good except to harass them and any counter measures just resulted in new placements. Some people take it too far.
 
What settings have you used?
For example - Basic Event | Motion Detection - set the area, enable the tickbox
Then in the camera or NVR (depending on what storage is to be used) Storage Schedule, Schedule type, Enable Schedule.

And what is the camera connected to for storage of the recorded clips?
Yes, done all that, ie. Basic Event -> Enable Motion Detection is ticked and area of red boxes drawn and schedule is enabled.
But aside from that, is the way to get around the "looking through window" issue to disable IR as nayr suggested? And is that done by setting Image to "Day"?
Also sound isn't great. What setting is suggested? G.711 u-law?
 
Last edited: