Fake GV Camera - 4K resolution

Hello,

My end goal is to use the fake GV camera to simulate a camera producing 4K imagery (3840 x 2160) at 10fps.

My first challenge is configuring the fake camera to output a 4K resolution. I’ve found that by default the sensor size of the fake camera is set to 2048 x 2048.

By observing the GenICam XML description of the fake camera, I see that the SensorWidth, SensorHeight, Width, and Height registers live at addresses 0x11C, 0x118, 0x100, and 0x104 respectively. From the simulator application, I’ve made several arv_fake_camera_write_register calls to set these registers so the image size is 3840 x 2160, but I’m wondering if there are any issues with this approach. Is there a better way to do it?

Hi,

There is no other way to change the sensor size currently. But that may break in the future.

The proper solution requires an additional API for setting the sensor size.

Emmanuel.

Hi Emmanuel,

Thanks for your response! I understand this approach isn’t officially supported by the API, but I’ve found it does seem to get the job done for now :slight_smile:

Thanks again for your help!