feb 4 2020
dec 20 2019
Select Configuration / System / Maintenance / System Service and enable / check in “Activate a third stream” and press save. NOTE!!! If you start it, you turn off the Acusense function so it is either or.
Then go to events and enable Motion Detection
By Heddan •
dec 17 2019
(1) False alarm filter
Go to NVR’s local GUI, System—Event—Smart Event, choose and enable the event you want to detect, then check target of interest. You can choose between 3 modes: Human, Vehicle or Human& Vehicle. Once you enable the option(s), it will based on the algorithm to filter most of the false alarm.
If you tick ‘Enable Smart Analysis’, NVR will detect event with NVR algorithm and no IP camera smart detection needed. Thus NVR is able to detect smart event even if IP camera doesn’t support. This mode has a higher accuracy and is recommended when there’s massive false alarms from IP cameras. Please notice NVR only support 1x Line crossing and 1x Intrusion Detection in this mode at present. In addition, IP camera’s video stream should be standard H264 or H265, resolution should be lower than or equal to 8MP. In addition, the resolution of camera must be between 2MP to 8MP.
After alarm is filtered, NVR normal playback and file management can only search right alarms, if you want to search false alarms, please go to ‘File Management—Event Type—False Alarm’.
2. Scene and Rule
In order to make the whole system more accurate, there’re some mounting and rule requirements for IP cameras.
In this chapter, we take several typical scenarios as examples to help you setup a better perimeter system.
- IP camera installation
Camera is recommended to be installed 2-3 meters high. If it is installed outside, it should be 3-8m high.
The monitoring distance is recommended to be within 50 meters, estimated longest distance for different focal length: 6mm, 30M; 8mm, 40M; 12mm, 50M. This is just a reference, it varies in different scenarios.
Angle between the optic axis and the horizontal line should be larger than 15°.
- Target size
DeepinMind NVR can analyze target whose height is between 1/16 and 1/2 of the image vertical size. For instance, IP camera resolution is 1080P, target vertical size should be larger than 64 pixels and smaller than 540 pixels.
For example, the target in picture below is too large to detect, the man almost covers the whole scene. We suggest adjusting the angle higher so that IP camera can start detecing from a longer distance.
It’s easy to deduce that once the scene is too dark, IP camera or NVR can’t detect target exactly. Lighting supplement or low light cameras is recommended in scene below.
If there’re obstacles in front of the camera, there will be c false alarms which occupy NVR smart resources. In addition, large obstacle might block target you are really interested in. Scene in picture below is not an appropriate one for detecting.
- Strong light
In some scenarios, strong light interference makes a target hard to be detected. Strong light generally can be divided into two kinds: strong background light and strong foreground light.
Strong background light makes foreground target totally dark, as what is shown picture below, the man in corridor looks like a shadow. WDR or BLC function is recommended in this scene.
Strong foreground light is usually generated by sudden light intensity change such as car light, flash light, sunshine reflection. We suggest customer change IP camera’s angle to avoid strong light or use cameras with HLC function.
- Complex scene
We suggest customer use perimeter guarding alarm to detect human who is not supposed to enter a region or cross a line, so it’s not applicable in a scenario such as train station with large people flow.
The scene below has too many people and create a vast number of alarms, it’s not a recommended scene for detection.
- Detection rule
In addition to installation guide, appropriate rule is also a critical part in perimeter guarding system.
Here’s an example, customer wants to detect man who walk across the door on the left side. However, the rule is too near to the edge. Once a man appears in the scene, there’s no enough time for NVR or IP camera to detect. We highly recommended customer set detection rule in the center of the scene, or not near the scene’s edge.
- Rule position
Although DeepinMind NVR is able to filter false alarms created by leaves, animals etc, it is highly recommended to set rule in a static field/ object. One customer set line crossing rule on grass in scene below, grass continuously makes false alarms which occupy NVR smart resource and storage space.
- IP camera selection
If customer wants
to use smart detection in an indoor
environment, IP camera
with WDR and wide FOV is recommended.
In some outdoor scenarios, bullet camera are a better choice than dome camera. Some raindrops might be stuck to the surface of dome camera, with raindrops accumulated, it decreases accuracy of smart detection.
Here’re several modes we recommend for outdoor/indoor use, customer can also select by themselves according to actual scenario.
|2 series||DS-2CD21x5 series DS-2CD23x5 series||DS-2CD2Tx5 series DS-2CD26x5 series|
|4 series||DS-2CD4Cx6 series DS-2CD4Dx6 series||DS-2CD4Bx6 series DS-2CD4Dx6 series|
By Anders Hedin •
dec 17 2019
It is recommended to let the AcuSense camera do the false alarm reduction. This will save the AcuSense NVR resources for normal IPC. Please make sure this camera channel has ‘Enable Local Smart Analysis’ unticked.
1) Go to NVR’s web page, Configuration—Event—Smart Event, choose AcuSense camera channel.
2) Choose and enable event that you want to detect (line crossing, region intrusion, region entrance detection or region exiting detection), draw rules.
3) Choose detection target(s). There are three choices: Human, Vehicle or Human& Vehicle. Then click save. Once the detection target is enabled, AcuSense Camera will filter false alarms based on the algorithm automatically.
NVR FW is V4.20 or above, configurations are just the same as AcuSense camera+ AcuSense NVR
If NVR FW is V4.1xx,
1) Go to NVR’s web page, Configuration—Event—Smart Event, choose the AcuSense IPC channel.
2) Choose and enable event that you want to detect (line crossing, region intrusion, region entrance detection or region exiting detection), draw rules;
3) Go to IPC’s web page, check the target of interest. You can choose between 3 modes: Human, Vehicle or Human & Vehicle. Once the target detection is enabled, the IPC will filter most of the false alarms based on the algorithm automatically.
By Anders Hedin •
dec 4 2019
As Hikvision continue to make what was once very specialist and expensive much more accessible in both cost and user-friendliness, we’ve been fielding far more enquiries regarding ANPR lately. It’s a bit “dark-arts” if you’re not familiar, and in true Hikvision fashion their documentation can be difficult to find.
Automatic Number Plate Recognition (ANPR), sometimes known as License Plate Recognition (LPR), allows a camera to automatically detect and recognise a car’s number plate as it moves through the scene. The camera can take a still / clip of the plate in question, as well as perform an action based on a whitelist / blacklist such as opening an automated gate for example.
This requires a specialised ANPR camera paired with a microSD card, and if you plan on pairing it with an NVR you also need one that can support ANPR functionality. You wouldn’t need a microSD card in the camera if you’re going to be using an NVR instead. Hikvision’s current recommended ANPR cameras are the DS-2CD4A25FWD-IZ(H)(S) Lightfighter bullet and the DS-2CD4A26FWD-IZ(H)(S) Darkfighter bullet, and your best option would be the 8-32mm focal length versions for both as opposed to the 2.8-12mm version. This will provide you a greater level of zoom and thus detail on plates.
All of Hikvision’s -E(x) series and -I(x) series NVRs such as the DS-7716NI-I4-16P support ANPR functionality and it continues to improve with each firmware update. These are the two most popular series – if you have a different model or are planning on a different model, please check compatibility before you go ahead!
I’ve put together a few guides on the process, covering the below topics:
- Setting up a Hikvision ANPR camera
- Setting up a Hikvision ANPR camera with an NVR
- Recommended image parameters
First of All
Your camera will require specialist firmware to activate the ANPR functionality, as by default it will not have the ANPR-specific firmware. This is a firmware version that isn’t publicly released by Hikvision, and so you’ll have to contact your seller (hopefully us!) for access to the firmware.
During this demo I’ll be using a DS-2CD4A25FWD-IZHS Lightfighter with a DS-7716NI-I4-16P NVR, and at the time of writing the current latest ANPR firmware for this camera is v5.3.8 build 160126.
Once the update has gone through, the UI will likely change to Hikvision’s older style – this is normal.
Next, reset your device to default settings. The camera will not function properly unless you do so. Navigate to Configuration > Advanced Configuration > System > Maintenance to do so.
Once the device has rebooted and you’ve reactivated it with a strong password, navigate to Configuration > Advanced Configuration > System > VCA Resource and ensure the Vehicle Detection option is ticked as opposed to Smart Event, and then hit Save. This essentially allocates more resources to Vehicle Detection as opposed to Smart Events, ensuring more reliable ANPR functionality at the expense of Smart Event functionality.
Once you’ve done this, power cycle the device (no need to reset it again).
It is absolutely essential you complete the above steps, regardless of how you’re planning to configure ANPR afterwards.
Setting up a Hikvision ANPR camera
Once you’ve completed the above steps, log back in to your ANPR camera via a web browser and navigate to Configuration > Advanced Configuration > Road Traffic
On the “Detection
Configuration” tab, ensure that the Detection Type dropdown has Vehicle
Detection selected, and that Enable is ticked.
Underneath you’ll see a
small image preview of your camera. This is where you’ll define the
detection area and number of lanes you wish the camera to pick up plates
Define the number of lanes you’re going to be monitoring and what region the camera is located in. The number of yellow configurable lines on the preview will adjust depending on the selected number of lanes.
NOTE – only one plate can be captured at any one time for each lane
The area between these two
yellow lines is the detection area the camera will monitor. It’s not
absolute – the camera will pick up plates from a small area outside of
the detection area.
Click and drag the yellow lines to your desired area.
NB: The camera used in the demo is not mounted in an optimal position. Ideally, it’d be facing toward the incoming traffic as much as possible, using a narrow field of view (and thus zoom) to achieve optimal plate recognition. This is just for demo purposes.
Look towards the License Plate Settings just below the detection area configuration.
To ensure optimal detection, you should enter the minimum and
maximum plate widths that are going to be present in your scene. You
can measure this manually by grabbing a still from the camera when a car
drives through the scene and measuring the pixel width of the plate
using a program such as MS Paint or Photoshop. Typically, the default
values of Min. 130 and Max. 500 tend to be okay, but optimisation is
always a good thing.
Below are Hikvision’s rules regarding pixel width.
In the Select Mode dropdown, choose the scenario that best
describes your application environment, either City Street or Entrance /
Exit or a Custom value. Essentially, this dictates the time interval
between detection and uploading of a snapshot of the detected car and
plate – City Street uploads the plate information after the car leaves
the detection area, whereas Entrance/Exit uploads it immediately.
Real-time LPR Result will allow you to monitor plates captured by the camera via the web interface which we’ll come to in a moment. When enabled, a tab will be visible in which you can view the real-time LPR results.
By default, the Arming Schedule is set to be active 24/7, but this can be configured if required. If you’re familiar with Hikvision recording schedules or event arming schedules like motion detection, it’s the exact same principle.
Active periods are marked blue on the timeline. Click Edit to
open another window which will allow you to configure the arming
Define the periods you want ANPR to be active, and then copy
it to other days if necessary – otherwise, individually configure the
other days of the week too. Hit OK when you’re done.
Next, configure the Linkage Method of the camera when a plate is
recognised. The camera can alert surveillance center software, such as
iVMS 4200 and iVMS 4500, as well as upload the captured still to an FTP
server and trigger an alarm output on the camera if one is available.
These can be separately configured for different triggering sources, from a Whitelist, Blacklist or “Other”, selectable from the dropdown menu.
Once you’re done, hit Save and click on the Picture tab. Within this window, you’ll configure the stills taken by the camera whenever a plate is grabbed.
Choose between either a defined Picture Size or a Picture
Quality slider with values ranging from 0-100. This will determine the
file size and thus quality of your captures. Remember, if you don’t have
the camera paired with an NVR, you will need to install a microSD card
into the camera to store captured plates to.
Below this, enable or disable the Text Overlay that accompanies LPR stills. This is a small bar that runs along the bottom of the image (added to the bottom, not covering part of your camera view) which will display the timestamp information of when the still was taken, the actual Plate No. as well as what camera took it etc.
You can customise the font and background colour of the overlay to your
own preferences, as well as what information is actually displayed and
in what order. In the above example, Camera No. is displayed first and
Plate No. comes last.
In a similar fashion, you can dictate the name of the stills uploaded to your FTP server if one such FTP server is available to the camera. By default, the Default option is selected, but you can choose Custom to determine the naming scheme of the captures, similar to the above.
Once you’re done, hit Save and click on the Camera tab. In
this window, you can dictate the Camera and Device No. as well as the
Camera Info., all of which will be displayed on the text overlay we
configured in the previous window.
These fields can be filled with whatever you wish.
Hit Save and then click on the Real-time LPR Result tab. If
everything has been configured correctly so far, you’ll be able to use
this tab to verify whether the camera is able to detect plates, either
by driving a car past the detection area yourself or waiting for one to
Once again, it displays a preview window of the camera’s live stream,
and it also displays a preview of the 20 most recently recognised plates
as well as some information about them, including the country of origin
and the direction they were travelling in.
Click on the Blacklist & Whitelist tab. In here is where you’ll upload or export a Blacklist & Whitelist file that you would need to create yourself.
This will be used to trigger actions on the camera when a
whitelisted or blacklisted plate is detected, such as opening or closing
an automatic gate.
To create a whitelist or blacklist, you would need to upload a .xls spreadsheet file to the camera. Below is an example from Hikvision on how to do so – of course, substitute the plate numbers for your own whitelisted or blacklisted ones, up to a maximum of 2048 license plates.
Once done, hit save once again. Afterwards, your camera should be configured to start recognising number plates!
To download and access the captured stills on the microSD card of the camera, navigate to the Playback tab of the camera via a web browser and click on the Download Pictures button.
On the right hand side, set the Picture Type to “Vehicle
Detection”, define the start and end period of your search, a desired
Plate No. to search for (you can leave this blank) and a particular
region the plate came from and hit search. Results will appear on the
left for you to view and download.
That’s it, you’re done!
The process is very similar when configuring via an NVR, but there are a few key differences that we’ll cover below, but it’s recommended that you complete the above steps on the camera itself before moving on to the NVR as, depending on firmware versions, some configuration options are only available on the camera and must be accessed.
Setting up a Hikvision ANPR camera via an NVR
Configuring an ANPR camera via an NVR is very similar to the above process, with a few differences which I’ll cover below. Mostly, it’s a case of a few configuration options that are located in different places, but some are only accessible by the camera itself.
One of the key benefits of using an NVR with an ANPR camera is the ability to simultaneously record footage of cars as they drive past. When searching for captured plates, the NVR will also provide a short clip of the car as it drove past the camera. You can also review footage if an incident occurred and you have a suspected number plate, providing a bit more clarity on what happened as opposed to a still image of the captured plate. This recording is not possible when using an ANPR camera with a microSD card installed.
Like with most things, a Hikvision NVRs own settings will take precedence over the settings on the camera, and so a setting on the NVR will replace the configuration on the camera itself. For the quickest set up, you’d simply configure ANPR as you did above but on the NVRs own configuration options as opposed to the camera. As discussed, this will not allow you to optimise the image parameters of the camera however. I tend to suggest that you configure all the settings you want on the camera, and then do the same on the NVR too, to ensure you’ve optimised everything as much as possible and avoid the issue of necessary configuration options not being present on an NVR.
If you’re connecting your camera directly to the POE ports of an NVR and need to access its configuration options, you would need to activate a feature called Virtual Host I have written an article about here on our forum.
Connect to your NVR via a web browser (it’s also possible via a HDMI connection to a monitor) and navigate to Configuration > Vehicle Detection > Vehicle Detection Configuration.
As discussed, the configuration is almost identical to what is described above, which I’d suggest you read first.
You will need to ensure that you select the appropriate Channel No. from the dropdown menu, as well as what detection type you wish to use (Black List, White List, Other) from the second dropdown menu.
Once again, define the number of lanes and detection area to however you wish.
The options to import and
export Black List / White List have also moved, and are now present at
the bottom of each page in the Vehicle Detection subsection.
Functionality remains the same, although there is no real-time display
of the list contents.
One of the added benefits of using an NVR is the greater range of Linkage Methods available. The NVR is able to audibly warn you when a plate is triggered, send you an email or activate full screen monitoring of the camera. It can also trigger a great number of alarm outputs, and initiate recording of different cameras too.
These are the only features
currently that have been moved around. As mentioned, there are some
features on the camera you’d need to configure that aren’t available via
the NVR, including minimum and maximum plate pixel width, as well as
the region the camera is located in.
Picture / Capture settings and OSD overlay settings are the same. There is no Real-time LPR Result window available to you on the NVR.
To access captured stills of detected plates, you would need to navigate to the Picture tab at the top of the NVRs web access GUI.
Once again, on the left hand
side choose which camera to search for, as well as selecting Vehicle
Detection as the File Type. Define a country and Plate No. if desired,
and a time period to search.
Results will be displayed on the right hand side, at which point you can view or download them.
This should be all you’d need to configure ANPR via a camera using a microSD card on its own, or by connecting it to an NVR too.
Below are some recommended image parameters from Hikvision to improve detection accuracy, particularly at night.
Recommended Image Settings for ANPR
It is important that you optimise the image settings of your Hikvision ANPR camera to ensure maximum detection accuracy. You should do this anyway for all of your Hikvision cameras based on their environment, but it’s absolutely necessary for an ANPR camera in particular. For example, motion blur can cause a number plate to be too blurry, or a headlight might blind the camera and it won’t see the plate unless you take the following steps.
Log into your camera’s web browser access, and navigate to Configuration > Advanced Configuration > Image
Again, you’ll be greeted
with a live view preview of your camera, as well as a list of menu
options which will allow you to configure the image settings of your
Changing the Mounting Scenario from Normal to Road via the dropdown menu will automatically configure your camera with Hikvision’s recommended image settings for ANPR purposes.
These are covered below, and you can configure them manually too.
Click on the Exposure Settings menu option on the right.
- Iris Mode : Auto
- Auto Iris Level : 50
- Exposure Time : 1/1000
- Gain : 20
Exposure Time / Shutter Speed is
absolutely crucial to set correctly. Setting the exposure too long will
introduce motion blur and allow too much light in to the camera,
blinding the camera at night from car headlights. Setting it too slow
will not allow enough light in, causing images to become unusable at
night as they are too dark. Below are Hikvision’s suggestions:
- Entrance / Exit : Low speed (<30km/h). Exposure time: 1/150 – 1/200
- Street: Medium speed (30-60km/h). Exposure time: 1/250 – 1/500
- Road: High speed (>60km). Exposure time: 1/500 – 1/1000
Gain should be set less than 30 when WDR is disabled, and less than 50 when it’s enabled.
Click on the Day/Night Switch menu option on the right.
- Day / Night Switch : Auto
- Sensitivity : 4
- Filtering Time : 5
- Smart IR : ON
- Mode : Auto
These options will configure how the camera switches between day
and night modes. These are Hikvision’s recommendations, but this is
heavily dependent on your own light environment, and would require you
to optimise based on your own needs.
Typically, an auto switch is fine, but a scheduled switch is also available.
Finally, click on the Backlight Settings menu option.
- BLC Area : OFF
- WDR : OFF
These features can negatively affect a
camera’s ability to recognise number plates, so wherever possible it is
recommended you disable them.
The above settings will give you results similar to the below at night. The plate will be visible, but the rest of the image will be too dark to see much.
That’s it, you’re done!
Your ANPR camera should be up and running, automatically recognising number plates and storing them to your preferred method.
For the price-point, we’ve been very impressed with Hikvision’s ANPR system, and detection accuracy is fantastic even in troubling installations.
It’s relatively easy to set up following the above, but if you do have any questions, feel free to ask here in our forum.
By Anders Hedin •
aug 9 2019
What ports need to be open for Hikvision? You will need to open up the following ports :
- HTTP Port = 80.
- Server Port = 8000.
- RTSP Port = 554.
- HTTPS Port = 443.
The first process to complete is the port forwarding on the local router at the NVR/DVR side.
•Log into the router and port forward ports 80,8000,554 as standard.
•These can be changed if needed but use the new ports if you decide to change them.
•You can find some router specific help at https://portforward.com/router
Once the port forwarding is complete –
•Log into the DVR/NVR web address locally and enable the platform access. You can also set the verification code in this menu ready for later steps.
To start, log into an existing HIK-Connect account or register a new account.•Use the link www.hik-connect.comwhere you will be able to follow the process to register an account.
Once you have logged into the HIK connect portal , you will see any devices added already
To add new device please select the “add” button.
You will then be prompted to input a 9 digit serial code, that can be found on a sticker on the DVR/NVR or on the box it came in, then click Search
You will then see the device listed -•Make sure the correct device is listed•Then select the + add button to add this to your HIK connect account.
Step 8Now you will be prompted to set the Verification code, set in the first steps of enabling HIK connect on the DVR/NVR locally. For example ABCDEF.
Once the verification code has been applied and you have selected the ADD option, you will then see the device in the list
In the Edit screen you will be able to set the domain name, we have used DVSsmartnvr. It will only let you save this if it hasn’t been used by someone else. •Select MANUAL for the UPnP option and set the ports to 8000 for the server and 80 for the HTTP, unless changed then click ok
You will see this has now saved the domain name, and you can now use www.hik-connect.com/DVSsmartnvr for instance from a web browser to access the Device.
You can now also share devices with other users, they will have reduced functionality but have access to the device. •To allow this function, click on shared devices and select share device.
If you choose to use the IVMS 4500 app instead of the HIK-connect app, open the IVMS 4500. Then from the main menu-•Select the HIK-connect option •Log into the HIK-connect account with the devices added, you will then see the HIK-connect account logged in.
To add a device as the domain name to speed up the images, select devices from the main menu, then select the + add symbol and manual adding option.
From this menu you will see the new device tab, give the unit a new Alias and make sure the register mode is set to Hik-connect domain. When you select the device domain line you will be given the list of device(s) to select. Select the appropriate device and its username and password of the device and click the save symbol. You are now setup
By Anders Hedin •
aug 5 2019
Using a Hikvision NVR’s “Virtual Host” Feature
One of the most successful selling points of a Hikvision NVR to many small-setup customers is the “Plug and Play” functionality that simplifies the setup process of their surveillance system. However, plugging a camera directly into a port on the NVR unfortunately does not allow you to access the camera via its own internal LAN IP using a browser due to it being on the NVRs internal network, and this can significantly reduce the amount of configuration options you have access to. The NVR does allow you to configure many options for each connected camera, but some essential features are only accessible via connecting to the camera itself (such as audio codec options). This was of course a big problem previously.
With the advent of newer firmware and models of NVR, Hikvision have introduced a feature called Virtual Host. Activating this feature turns your NVR into a “host” for the cameras allowing you to connect to them via a browser. Essentially, the NVR forwards all traffic received from your browser to the appropriate camera you’re trying to connect to, eliminating the biggest problem of plug and play functionality.
Note: Whilst Hikvision are working to update existing models of NVR to enable this feature, not all of them will currently have Virtual Host functionality. We recommend checking online and updating your firmware to see whether your model is compatible.
First of all, access your NVR via a web browser. If you do not know the LAN IP of your NVR, download Hikvision’s tool SADP here. It scans your network for any Hikvision devices that are connected and allows you to see and/or change their network settings, including the internal IP.
Once you’ve logged in, navigate to Configuration –> System –> Camera Management
This screen displays all the connected cameras on your NVR. Notice that the final column labelled “Connect” is currently empty. We’ll be coming back here in a moment.
Now, navigate to Network –> Advanced Settings –> Other tab and make sure you tick the option “Enable Virtual Host”
NB – when you click ‘Save’ your NVR will reboot.
Now, navigate back to the Camera Management window from
earlier. You’ll notice that the previously empty connect tab now
features links for each camera currently connected to your NVR.
Simply click on any of these links to access the respective camera via your web browser.
By Anders Hedin •