Function SimOneAPI::GetStreamingImage

Function Documentation

bool SimOneAPI::GetStreamingImage(const char *ip, unsigned short port, SimOne_Streaming_Image *pImage)

获得物理级摄像头图像数据.

Retrieve image data from streaming based camera.

此函数用于获取物理级摄像头仿真图像数据 This function is used to get the image data from streaming based camera.

参数:
  • ip -- [in]

    物理级摄像头UDP输出IP地址

    UDP IP which the streaming image send to

  • port -- [in]

    物理级摄像头UDP输出端口号

    UDP Port which the streaming image send to

  • pImage -- [out]

    仿真图像数据

    Image data

返回:

如果成功获取到仿真图像数据,则返回true,否则返回false

Returns true if the image data is successfully retrieved, false otherwise