QuercusVL Programming Manual
4.4.3. Coordinates
For historical reasons, all the coordinates described in the protocol (as detector or traffic light
position) will be defined in a 5 megapixel image (from 0 to 2559 and from 0 to 1919).
4.5. Common structures
Data structures used in messages of later sections.
4.5.1. Timestamp
Defines a specific moment in time.
●
Seconds: date and time of the timestamp, showing the number of seconds
elapsed since 00:00 hours on the first of January of 1970. It is the same format
that is returned at the call to function time_t time ( time_t *timer ) from ANSI C
standard.
●
Useconds: microseconds of the timestamp.
4.5.2. Region
Informs about the location of the four vertex that make up a detector or loop.
●
X1: position of vertex 1 in the image (horizontal axe).
●
Y1: position of vertex 1 in the image (vertical axe).
●
X2: position of vertex 2 in the image (horizontal axe).
●
Y2: position of vertex 2 in the image (vertical axe).
●
X3: position of vertex 3 in the image (horizontal axe).
●
Y3: position of vertex 3 in the image (vertical axe).
●
X4: position of vertex 4 in the image (horizontal axe).
●
Y4: position of vertex 4 in the image (vertical axe).
Quercus Technologies
132
2
X3
2
Y2
2
X2
2
Y1
2
X1
2
Y3
2
X4
2
Y4
4
Seconds
4
USeconds