User Manual
Aimetis People Counter 2.1
Collecting Data Remotely from the Aimetis People Counter Aimetis People Counter 2.1
27
Collecting Data Remotely from the Aimetis People Counter
The following (
“Script” on page 28
) is a sample script for extracting counter data from the Aimetis People
Counter application running on an Axis camera.
The script uses the
Wget
utility program for performing HTTP requests to the Axis camera.
A brief description of
Wget
can be found here:
http://en.wikipedia.org/wiki/Wget
Structure of the HTTP Request
http://<CamIP>/local/VE170/rep.csv?<Query>
Where:
•
CamIP
is the IP of the Axis camera
•
Query
defines the detail level and period for the counter data to be extracted
The query follows the standard rules for any HTTP query. The following fields can be used:
• StartYear
• EndYear
• StartMonth
• EndMonth
•StartDay
• EndDay
• StartHour
• EndHour
• DetailLevel
All field values for date-time boundaries are inclusive, that is, data extracted for
StartDay=2&EndDay=4
includes the days 2, 3 and 4.
Month
field value is 1 to 12, that is,
January=1
,
February=2,
…
December=12
.
Hour
field value is 0 to 23 corresponding to 12 am to 11 pm.
Possible values for
DetailLevel
•
S
, the data is detailed for every minute
•
H
, hour
•
D
, day
•
M
, month
•
Y
, year