Use 360-degree fisheye camera with the AdamApp app
Updated:Feb 19, 2024
Question
Regarding 360-degree fisheye camera, can fisheye or dewarped images (such as panorama) be used in the AdamApp app?
Answer
Depending on the imaging capture mode setting of the 360-degree fisheye camera, either fisheye or dewarped footage (such as panorama) can be used in the AdamApp app.
Here we will explain an example using ADAM_DevYcVideo_Create of ADAM API.
For example, if the imaging capture mode setting is "Fisheye + Panorama", the following stream settings are possible.
stream 1 : Fisheye (1280x1280)
stream 2 : Panorama (1280x720)
The first argument of ADAM_DevYcVideo_Create is the structure ST_ADAM_DEV_YCVIDEO_PROPERTY.
typedef struct ST_ADAM_DEV_YCVIDEO_PROPERTY_t {
int m_resolution;
int m_frameRate;
} ST_ADAM_DEV_YCVIDEO_PROPERTY;
Specify the resolution of the stream you want to start streaming in this member variable m_resolution.
Stream 1: When using fisheye, specify ADAM_SET_RESOLUTION(1280, 1280) for m_resolution.
Stream 2: When using Panorama, specify ADAM_SET_RESOLUTION( 1280, 720) for m_resolution.