Files
M5Stack_Linux_Libs/examples/framebuffer_OpenCV
2024-06-03 20:01:59 +08:00
..
2024-06-03 20:01:59 +08:00
2024-06-03 20:01:59 +08:00
2024-06-03 20:01:59 +08:00
2024-06-03 20:01:59 +08:00
2024-06-03 20:01:59 +08:00

framebuffer_OpenCV

This is a replica of the CoreMP135_framebuffer_OpenCV project by nnn112358, used to demonstrate the application of OpenCV on CoreMP135.

This project requires the use of a higher version of gcc.

sudo apt install arm-linux-gnueabihf-g++ arm-linux-gnueabihf-gcc

scons

scons push

result in CoreMP135

root@M5Core135:~$ ./frame_buffer_opencv
/dev/fb0 information
--------------------------
Frame Buffer Device Information:
ID: stmdrmfb
Memory Length: 1843200 bytes
Type: 0
Type Aux: 0
Visual: 2
Line Length: 2560 bytes per line
--------------------------
Variable Framebuffer Information:
Resolution: 1280x720
Virtual Resolution: 1280x720
Bits Per Pixel: 16
Red: Offset 11, Length 5
Green: Offset 5, Length 6
Blue: Offset 0, Length 5
--------------------------
/dev/fb1 information
--------------------------
Frame Buffer Device Information:
ID: fb_ili9341
Memory Length: 153600 bytes
Type: 0
Type Aux: 0
Visual: 2
Line Length: 640 bytes per line
--------------------------
Variable Framebuffer Information:
Resolution: 320x240
Virtual Resolution: 320x240
Bits Per Pixel: 16
Red: Offset 11, Length 5
Green: Offset 5, Length 6
Blue: Offset 0, Length 5
--------------------------

Apendix

S__80977923

Acknowledgments

nnn112358