IMX8MP MIPI-CSI Camera Frame Image display by QT Application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8MP MIPI-CSI Camera Frame Image display by QT Application

1,001 次查看
QiangF
Contributor I

Hardware environment:

  • NXP i.MX 8M PLUS
  • Industrial camera (MIPI)
  • HDMI monitor

The data flow is as follows:

QiangF_1-1661769143670.png

 

Software Environment:

  • Kernel: Linux imx8mpevk 5.4.70
  • File system: ubuntu20.04 file system
  • Third-party software: Qt5.12.6, Opencv, SDL (Simple DirectMedia Layer, refer to https://wiki.libsdl.org/) or OpenGL ES

Functional Requirements:
The standard programming interface based on v4l2 obtains the data of each frame from the mipi camera, converts it into an Opencv mat image, and displays it in the QT window.

Current issues:
When calling the method SDL_CreateWindowFrom(win_id) of SDL to generate a window in QT, an error occurs and the camera screen cannot be displayed.

Target:
1. Solve the current SDL problem and display the camera screen in the QT window;
2. If the SDL method is not feasible, use other methods such as V4l2 + OpenGL ES to display the camera screen normally in the QT window.

If you have a good suggestion, please point it out

0 项奖励
回复
0 回复数