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.

参数:
const char *ip

[in]

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

UDP IP which the streaming image send to

unsigned short port

[in]

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

UDP Port which the streaming image send to

SimOne_Streaming_Image *pImage

[out]

仿真图像数据

Image data

返回:

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

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