DS-2CD2387G2P-LSU/SL not detecting car at night

Jul 27, 2024
7
5
USA
I have Hikvision DS-2CD2387G2P-LSU/SL camera.

I setup Intrusion Detect for the street in front of my home with a rectangle surrounding the street in front (but not all the way to the left &right edges).
Target selection: Human Unchecked, Vehicle Unchecked
Threshold: 0
Sensitivity: 100
Target Validity: Basic

During the day, it works well. But in the middle of the night (that is around 01:00 to 4:00 or so), a car will drive by the house and no event is triggered.

For whatever it's worth, here is my video and image current settings as well:
Resolution 5120*1440
Bitrate Type Constant
Video Quality N/A
Frame Rate 15
Max Bitrate 6144
Video Encoding H.265
H.264/5+ OFF
I Frame Interval 15
SVC OFF
Smoothing 50
Brightness 50
Contrast 58
Saturation 50
Sharpness 45
Exposure Settings Fixed 1/60
Backlight Settings BLC Area Area:OFF WDR:OFF HLC: OFF
White Balance AWB1
Image Enhancement Normal/Noise Reduction Level: 40
Gray Scale: [0-255]

Is there any adjustment(s) I can try so that I can detect cars or people crossing in front of my house in the middle of the night?

Thanks!
 
Video Encoding H.265
H.264/5+ OFF

Did you try H.264 as was suggested to you in your other thread?

 
  • Like
Reactions: 0460dirt
At this point we need to see images of the field of view and some sample video.

In many instances, this is the result of trying to do too much with one camera and field of view.

Are you on auto/default settings for things like shutter? If so, that makes the car a blur and AI won't recognize it as a car at night. Or if all it sees is headlights.
 
I setup Intrusion Detect for the street in front of my home with a rectangle surrounding the street in front (but not all the way to the left &right edges).
Target selection: Human Unchecked, Vehicle Unchecked
Threshold: 0
Sensitivity: 100
Target Validity: Basic
I'm curious why you've unchecked Vehicle if you want to focus on cars passing by.

What did you set for maximum and minimum size, relative to the expected size of a vehicle?

It might be interesting to see what event is being properly detected during the day, could it just be a motion detection?
You will be able to see that in the NVR logs (I'm assuming the camera is recording to an NVR) or by enabling 'Rules' (NVR web interface, Local | Live View Parameters | Rules radio button) so the recorder shows visually what the event actually is. That can be quite informative.
 
I'm curious why you've unchecked Vehicle if you want to focus on cars passing by.

What did you set for maximum and minimum size, relative to the expected size of a vehicle?

It might be interesting to see what event is being properly detected during the day, could it just be a motion detection?
You will be able to see that in the NVR logs (I'm assuming the camera is recording to an NVR) or by enabling 'Rules' (NVR web interface, Local | Live View Parameters | Rules radio button) so the recorder shows visually what the event actually is. That can be quite informative.

Yesterday morning I changed to H.264, bitrate to 8192 and shutter speed to 1/120. Under Intrusion Detect, I left the original region as-is with nothing checked and added a second nearly identical region with both human and vehicle checked.

I unchecked Vehicle under "Intrusion Detect" as I believed it would give me a better chance of night detection. I thought that the camera might still pick up the motion even if it had trouble identifying it as a vehicle. The min size is very small and the max size is half the entire screen.

During the day, the NVR is showing the vehicle events as vehicle. But last night from (12am to 4am), there were two vehicles passing by. One red car was caught as "event", the other black car was not caught at all. The uncaught car was moving somewhat fast and but you can clearly make it out when viewing the footage so it is not a blur. The headlights are somewhat bright.

At this point, I am not sure what else to try. Would changing Backlight Settings (BLC, WDR, HLC) or White Balance have any effect?
 
  • Like
Reactions: alastairstevenson
The reason I was using Intrusion Detect instead of Motion Detect is that the latter was too sensitive, even at 20. Too many trees and plants swaying in light winds would set it off and Motion Detect would trigger alerts continuously. Intrusion Detect solved the continuous false trigger issue and worked really well during the day. However, Intrusion Detect stops working at night, even at 100.

But then I realized that I can set up smaller Motion Detect shapes which only enclose the road with no plants within. And that seems to be working day or night with few false triggers but still capturing moving cars at night.

So that is what I ended up going with.

So for anyone else coming across this issue, use Motion Detect but instead of using one large shape which encloses things like plants that are always moving, break it up into smaller shapes which do NOT enclose anything that will result in false triggers.

Motion Detect is crude but it works day or night with the right shapes and will solve the issue with Intrusion Detect not working properly at night.
 
  • Like
Reactions: alastairstevenson
Did you try H.264 as was suggested to you in your other thread?

Just commenting on this comment.

In my testing, H.264 is superior for video quality. Sure all these plus and H.265 schemes are smaller file sizes. To me that is more lossy compression slash video degradation going on. To test this for yourself, take am image and zoom in with .264 and .265. You will quickly see H.265 pixelates rapidly compared to H.264. If you are trying to get license plates or faces, look no further than H.264 with NO plus feature turned on. Plain old H.264.
 
Far as not detecting cars at night, those are super easy to trigger. All you need is the "basic" motion sensor with object size and contrast in Blue Iris. Turn off all the other ONVIF and Advanced motion detectors. Just focus on the "basic" till you get it down. So simple object size and contrast. This setting will be different for everyone. The wider or further away shot you have, you will need a smaller object size because objects are smaller at distance. Make sure THAT size is smaller than a small car. Then here is what it really triggers from is CONTRAST. Headlights quickly do this for us. Try object size at 400 and contrast at 40 for starters. Leave the sensitivity at 60. You should be catching all kinds of CONTRAST at night this way. Then take a clip, in stop mode, right click and select test and tune with motion on. Play the clip in BI. Oh turn on highlights for testing inside the motion settings. You should see all kinds of blue and orange boxes following the headlights. Test and tune is your friend. Learn to use it.
 
I have Hikvision DS-2CD2387G2P-LSU/SL camera. So do I.

I setup Intrusion Detect (Use basic motion till you master it) for the street in front of my home with a rectangle surrounding the street in front (but not all the way to the left &right edges).
Target selection: Human Unchecked, Vehicle Unchecked CHECK VEHICLE
Threshold: 0
Sensitivity: 100 60
Target Validity: Basic

During the day, it works well. But in the middle of the night (that is around 01:00 to 4:00 or so), a car will drive by the house and no event is triggered.

For whatever it's worth, here is my video and image current settings as well:
Resolution 5120*1440
Bitrate Type Constant
Video Quality N/A
Frame Rate 15 I prefer 20 unless you turn on WDR. This cam won't do 20 frames with WDR on.
Max Bitrate 6144 run at 16mb or MAX setting
Video Encoding H.265 H.264 all the way
H.264/5+ OFF
I Frame Interval 15 Match this to your frame rate.
SVC OFF
Smoothing 50
Brightness 50
Contrast 58 40 for night recording
Saturation 50
Sharpness 45
Exposure Settings Fixed 1/60 1/6 without WDR. 1/60 will be too dark at night.
Backlight Settings BLC Area Area:OFF WDR:OFF HLC: OFF
White Balance AWB1
Image Enhancement Normal/Noise Reduction Level: 40 For night set NR to 50. Day set for 0.
Gray Scale: [0-255]

Is there any adjustment(s) I can try so that I can detect cars or people crossing in front of my house in the middle of the night?

Thanks!
 
One red car was caught as "event", the other black car was not caught at all.
Simple nighttime and a black car with not enough CONTRAST setting in basic motion detection. Lower CONTRAST setting to give it a better chance of triggering. Plus your shutter speed was too fast with deficient light????
 
The reason I was using Intrusion Detect instead of Motion Detect is that the latter was too sensitive, even at 20. Too many trees and plants swaying in light winds would set it off and Motion Detect would trigger alerts continuously.
Because you don't have the BASIC motion set proper. You can turn on USE ZONES AND HOTSPOT and mask the tree movement and other false triggering areas of your shot. Again turn off ALL forms of triggering until you master the BASIC one in BI. It will only confuse you.
 
  • Like
Reactions: 0460dirt