NET_ITS_PICTURE_INFO

Captured picture information structure.

Structure Definition

struct{  
  DWORD           dwDataLen;  
  BYTE            byType;
  BYTE            byDataType;  
  BYTE            byCloseUpType;
  BYTE            byPicRecogMode;  
  DWORD           dwRedLightTime;
  BYTE            byAbsTime[32];  
  NET_VCA_RECT    struPlateRect;
  NET_VCA_RECT    struPlateRecgRect; 
  BYTE            *pBuffer;
  DWORD           dwUTCTime;  
  BYTE            byCompatibleAblity;
  BYTE            byTimeDiffFlag;
  signed char     cTimeDifferenceH;
  signed char     cTimeDifferenceM;
  BYTE            byRes2[4];
}NET_ITS_PICTURE_INFO, *LPNET_ITS_PICTURE_INFO;

Members

dwDataLen

Size of media data.

byType

Data type: 0-license plate picture, 1-scene picture, 2-composite picture, 3-close-up picture, 4-binary picture, 5-stream, 6-driver's face thumbnail, 7-co-driver's face thumbnail, 8-non-motor vehicle, 9-pedestrian, 10-raw data, 11-target picture, 12-driver room picture, 13-co-driver room picture, 14-face thumbnail

byDataType

Data uploading type: 0-directly upload, 1-upload URL of cloud storage server

byCloseUpType

Close-up picture type: 0-reserved, 1-non-motor vehicle, 2-pedestrian

byPicRecogMode

Recognition mode: 0-recognize in forward direction, 1-recognize in backward direction

dwRedLightTime

Red light duration, unit: s

byAbsTime

Absolute time: yyyymmddhhmmssxxx, e.g.20090810235959999, the last three bits are milliseconds.

struPlateRect

When byType is "1", this parameter indicates the position of license plate on the scene picture, when byType is "8" or "9", this parameter indicates the person coordinates. See details in the structure NET_VCA_RECT.

struPlateRecgRect

ANPR region coordinates, when byType is "12" or "13", this parameter indicates the coordinates of driver. See details in the structure NET_VCA_RECT.

pBuffer

Buffer for saving data.

dwUTCTime

UTC time

byCompatibleAblity

Compatible with capability filed, and it is represented by bit, value: 0-invalid, 1-valid. bit0-whether the parameter dwUTCTime is valid.

byTimeDiffFlag

Whether the time difference parameter is valid: 0-invalid, 1-valid.

cTimeDifferenceH

Time difference between time and UTC time, unit: hour, the value is between -12 and +14 ("+" indicates the east time zone), it is valid when byTimeDiffFlag is "1".

cTimeDifferenceM

Time difference between time and UTC time, unit: minute, the value is -30, +30, or +45 ("+" indicates the east time zone), it is valid when byTimeDiffFlag is "1".

byRes2
Reserved

Remarks

  • If only the scene picture is uploaded, you can capture the close-up view from scene picture according to the parameter struPlateRecgRect, and you can also adjust the width and height as required.

  • Picture URL format: http://CVMIP:Port/pic?did=DevID&bid=BlkID&pid=PictureID&ptime=PicTime. E.g., http://10.192.65.140:8009/pic?did=35b9cbd0-8ffa-1031-87e6-0025903c6a50&bid=387&pid=2952790009&ptime=1378106185

    CVMIP

    IP address of CVM (Cloud Video Management) server.

    Port

    Port number (default: 8009) of HTTP service provided by CVM (Cloud Video Management) server.

    DevID

    Device ID of CVS (Cloud Video Server).

    BlkID

    Device block ID of CVS (Cloud Video Server)

    PictureID

    Picture ID generated by CVS (Cloud Video Server)

    PicTime

    Picture timestamp.