MD-3025-IVS People Counting Guide

People Counting
Version 1.0
MD-3025-IVS People Counting Setup Guide
People Counting Guide
1. Overview
The MD-3025-IVS has built-in video analytic function for object counting. It is a standalone
function built into the camera’s firmware without the need for external software or device.
The object counting function can be used to count people or cars. This guide will focus on
using MD-3025-IVS’s “Object Counting” function to do people counting in places like
shopping malls, stores, or super market.
The Object Counting works by defining 2 zones on the video image. When a person
crosses the center border between 2 zones, the camera will register a count. The camera
can count people from “Zone1 to Zone2”, “Zone2 to Zone1”, or both directions.
The important factors for successful people counting installations are:
 Choose the right installation location
 Choose the correct resolution and frame rate
 Calibrate the object size
 Make sure “counting result overlay” option is enabled and please remember to click on
“Apply” button to save the settings.
We will guide you through the procedure in the following articles.
MD-3025-IVS People Counting Setup Guide
2. Hardware Installation Guidelines
It is recommended to have at least 3 meter of vertical clearance (from floor to ceiling)
for best performance.
The followings are basic installation guidelines to get the best people counting results.
However; if your environment cannot meet the recommended conditions, the people’s
counting can still work with reasonable accuracy.
MD-3025-IVS People Counting Setup Guide
MD-3025-IVS People Counting Setup Guide
3. Camera Configuration
3.1 Finding camera using AirLive IP Wizard
The IPCAM’s default IP address is, but this address can change when there
is DHCP server (router) in your network. Therefore, please install AirLive IP wizard to find
your camera.
1. Install the “AirLive IP Wizard” from the installation CD or download it from this link.
2. Run the “setup.exe” and open the AirLive IP Wizard.
3. The IP Wizard will auto search and list out the camera found. Double click on the camera
that you want to configure.
4. The IPCAM’s web configuration will open automatically after double click. Please enter
the “admin” for username and “airlive” for password.
5. After entering the correct username and password, you will enter the camera’s web
configuration page. When prompted to install “Media Control” from “OvisLink Corp”,
please select “Yes” to install.
3.2 Enable Camera’s Video Analytic function
Please use Internet Explorer as the default browser. If you are using IE 11, please go to
“Setup->Compatibility View Settings” and add the camera’s IP address to the list.
MD-3025-IVS People Counting Setup Guide
Please follow the steps below to enable camera’s video analytics function.
1. Click on “Configurations” on left menu bar
2. Click on “Video” on the left menu bar and select “Enable” Intelligent Video Analytics.
3.3 Setting Resolution and Frame Rate
On the video page, it is important to set the resolution and frame rate correctly.
Please remember to click on “Apply” button after finish settings.
Installation Site
Shiny surface such as
marble or granite floor
Non-shiny surface such
as carpet or matt wood.
Main Stream
Main Stream
Frame Rate
Second Stream
Frame Rate
MD-3025-IVS People Counting Setup Guide
3.4 Configure Object Counting Function
Please go to “Video Analytics” menu and select “Object Counting”
Below is the main page for Object Counting.
MD-3025-IVS People Counting Setup Guide
Click to
enlarge video
Zone Area
Please remember to press “Apply”
after change settings, otherwise the
settings won’t take effect.
The first step is to set the zones according to your environment. The controls are separated
in Zone Area and Zone Settings as indicated above.
Zone Settings
Rotate Mode: this is the default mode. When you click inside the “Zone Area”, you
can rotate, move, and resize the zone by holding the “change points”.
Click inside the zones to
activate edit mode
Click and hold inside
the zone to move the
Click and hold the
change points to rotate
or resize the zones.
MD-3025-IVS People Counting Setup Guide
Transform Mode: In this mode, you can freely change the shape of the zones to fit
your installation site.
Click inside the zones to
activate edit mode
Click and hold the
change points to
change the shape of
the zones
Click and hold inside
the zone to move the
Directionality: The camera’s people counting function register a count when a person
walks from one zone to another zone. You can choose to count from Zone1 to Zone2,
Zone2 to Zone 1, or both directions. You must first click on the zone block inside
the Zone Area first before you are allowed to choose the direction.
Please enlarge the Zone 1 and Zone 2 as big as possible. The bigger zone is
more accuracy.
Zone size is big.
Zone size is too small.
MD-3025-IVS People Counting Setup Guide
Please extend the length of the moving path as long as possible.
The length of the moving path is longer.
The length of the moving path is too short.
If the moving direction is from Zone 1 to Zone 2, user can set bigger Zone 1 to
increase the accuracy.
Zone 1 size is bigger
After you set the zone area correctly, the next step is to calibrate the object size according
to your installation.
MD-3025-IVS People Counting Setup Guide
Your installation height and location can change the size of a person as perceived by the
camera. It is important to calibrate the maximum and minimum people size after installation.
You can perform calibration by checking the “People” in the calibration field.
On the Zone Area, two windows label “Max Size” and “Min Size” will appear.
Minimum Object Size
Maximum Object Size
Click inside the small
box to change the size
Click on either “Min. Size” or “Max. Size” window to change the size of the maximum and
minimum objects.
Max. Size: Object larger than this size will be counted as more than one object. You
should set it to the size of a large adult.
MD-3025-IVS People Counting Setup Guide
Min. Size: Object smaller than this size will not be counted. You should set it to the
size of a small child.
Other Important Settings
Detect : Please choose “People”
Sensitivity: “Moderate to High” is the recommended settings
Counting Result Overlay: Please “enable” this setting. Enable this setting will display
the counting result on screen.
Counting Results
MD-3025-IVS People Counting Setup Guide
Result Counter: the displayed counting result will reset to zero according to the choices
Statistic Records: Please enable this item. We recommend choose “hourly” which can
report the number of counting in each hour for up to 30 days (firmware 1.60 or later).
When you choose “by minute”, the camera will hold the per minute data for 48 hours
(firmware 1.60 or later). Choosing daily will hold daily count for 30 days.
Statistic Chart Display: When enabled, it will show the counting result in a statistic
graph. It is not recommended to turn on this function as it might use a lot of CPU
resource which can influence counting performance. If you use this function, please
remember to turn it off after finish using it.
Event Action
The camera’s objection counting function not only can do counting, it can also perform
certain action when event conditions are met. For example; it can be set if the number of
people counted exceeds100 in the last 10 minutes, it will send an email to the operator.
This can be used for crowd management.
Setting if the number of people exceeds 100 people in 10 minutes between 7am to 9pm,
the camera will sound a voice message “Number of people exceeded. Please send more
personnel to serve the customers”.
1. Please make sure MD-3025 is connected to external speaker.
2. Please record a voice message on your PC using Windows Sound Recorder, then save
the voice file. The format should be 8KHz mono .wav file. The file size should be less
than 100KB.
3. Go to the camera’s UI, then select “Configuration->Audio”. Check “Enable Speaker”.
Click on “Browse” to select the audio file you want to record. Then select “Upload”. After
upload finished, please press the “Apply” button to save settings.
MD-3025-IVS People Counting Setup Guide
4. Go to “Video Analytics” and “Object Counting”. Change Interval to 10 minutes and
quantity to “100”. Then press “Apply” button to save settings.
5. Now, please click on “Set Event Action”. Click on “Add”. Then the following screen will
appear. Please enter the data as shown below. Please remember to click on “Save”
after finish settings.
Note: The Event Name does not allow spaces in between words. Please enter the
event name as one single word.
MD-3025-IVS People Counting Setup Guide
4. Retrieve Counting Data
You can retrieve the counting results using one of the method below:
 Export data from camera’s web interface manually.
 Let camera send the daily counting report automatically to remote FTP or Samba
 Retrieve Data using CGI Commands. If you are a developer or system integration, you
can use this method to get data for your CMS or management system.
Export Data from Camera’s Web UI
Please go to the Object Counting page (Configuration->Video Analytics->Object Counting).
You can select the date, time, and format you want to export. The keeping time of the data
depends on the “Statistic Period” you choose (firmware 1.60 or later):
 By minute: 48 hours
 Hourly: 30days
 Daily: 30days
MD-3025-IVS People Counting Setup Guide
Camera Auto Send Counting Report
The camera will automatically send counting report to remote FTP or File Server. This
function provides great advantage for large installations because data can be uploaded via
internet to a centralized server. In addition, there is no need to configure the server when
there is a new camera installation. The auto export function is now available. If you do not
find this function in your firmware, please go to AirLive website to download or contact our
tech support by email at
MD-3025-IVS People Counting Setup Guide
Configuration Steps:
Please go to the “Video Analytics”->”Object Counting” configuration page. The Statistic
Record page is on the lower right side.
Now check the “Statistic Record” check box and fill in the information
MD-3025-IVS People Counting Setup Guide
Check the “Statistic Record” box
Export Mode: select “Auto”
Statistic Period: please choose the report format you prefer
 By minute: the record file will show the number of occurrence in each minute
 By hour: the record file will show the number of occurrence every hour. This is
the recommended format to use.
 By daily: the record file will show the number of occurrence daily.
4. Periodic Export Time: The camera will send counting report once a day. You can
choose what time the camera should send the report.
5. Choose whether to send the counting report via FTP or Samba. Samba means local
file server or NAS. In this example, we will choose FTP.
6. Server Address: Please enter the IP address of your FTP server
7. Path: This is to specify the file directory path. Leave it blank if you want to put it under
root directory.
8. Username and Password: Enter the FTP account’s information
9. Port: the server port of the FTP server. The default is 21 but it can be changed
according to your server setup.
10. Click on “Test FTP” to check if your FTP information is correctly entered.
11. Make sure to click on the “Apply” button to save settings.
12. After correct settings are made, the counting report to send to remote server under the
file name “MD3025_<ivs type>_<year-date-time>.csv”. The file can be opened using
spreadsheet program such as Microsoft Excel.”.
MD-3025-IVS People Counting Setup Guide
13. CGI Command to Export Statistic Records
Exportdaily facedetectionstatisticsrecordsfromJan.1 toDec.
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: 40
Connection: keep-alive
Content-Disposition: attachment; filename=fd_event_log.csv
Set-Cookie: fileDownload=true; path=/
2014-02-12 13:58,3
2014-02-12 13:59,3