mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 10:29:11 +08:00
efa4d9176a
Highgui backend on top of Framebuffer #25661 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [ x] I agree to contribute to the project under Apache 2 License. - [ x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [ x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ x] The feature is well documented and sample code can be built with the project CMake Environment variables used: OPENCV_UI_BACKEND - you need to add the value “FB” OPENCV_UI_PRIORITY_FB - requires priority indication OPENCV_HIGHGUI_FB_MODE={FB|XVFB|EMU} - mode of using Framebuffer (default "FB") - FB - Linux Framebuffer - XVFB - virtual Framebuffer - EMU - emulation (images are not displayed) OPENCV_HIGHGUI_FB_DEVICE (FRAMEBUFFER) - path to the Framebuffer file (default "/dev/fb0"). Examples of using: sudo OPENCV_UI_BACKEND=FB ./opencv_test_highgui sudo OPENCV_UI_PRIORITY_FB=1111 ./opencv_test_highgui OPENCV_UI_BACKEND=FB OPENCV_HIGHGUI_FB_MODE=EMU ./opencv_test_highgui sudo OPENCV_UI_BACKEND=FB OPENCV_HIGHGUI_FB_MODE=FB ./opencv_test_highgui export DISPLAY=:99 Xvfb $DISPLAY -screen 0 1024x768x24 -fbdir /tmp/ -f /tmp/user.xvfb.auth& sudo -u sipeed XAUTHORITY=/tmp/user.xvfb.auth x11vnc -display $DISPLAY -listen localhost& DISPLAY=:0 gvncviewer localhost& FRAMEBUFFER=/tmp/Xvfb_screen0 OPENCV_UI_BACKEND=FB OPENCV_HIGHGUI_FB_MODE=XVFB ./opencv_test_highgui |
||
---|---|---|
.. | ||
runtime | ||
atomic_check.cpp | ||
cann.cpp | ||
cpu_avx2.cpp | ||
cpu_avx512.cpp | ||
cpu_avx512clx.cpp | ||
cpu_avx512cnl.cpp | ||
cpu_avx512common.cpp | ||
cpu_avx512icl.cpp | ||
cpu_avx512knl.cpp | ||
cpu_avx512knm.cpp | ||
cpu_avx512skx.cpp | ||
cpu_avx.cpp | ||
cpu_fp16.cpp | ||
cpu_lasx.cpp | ||
cpu_lsx.cpp | ||
cpu_msa.cpp | ||
cpu_neon_bf16.cpp | ||
cpu_neon_dotprod.cpp | ||
cpu_neon_fp16.cpp | ||
cpu_neon.cpp | ||
cpu_popcnt.cpp | ||
cpu_rvv.cpp | ||
cpu_sse2.cpp | ||
cpu_sse3.cpp | ||
cpu_sse41.cpp | ||
cpu_sse42.cpp | ||
cpu_sse.cpp | ||
cpu_ssse3.cpp | ||
cpu_vsx3.cpp | ||
cpu_vsx_asm.cpp | ||
cpu_vsx.cpp | ||
cxx11.cpp | ||
directml.cpp | ||
directx.cpp | ||
ffmpeg_test.cpp | ||
framebuffer.cpp | ||
lapack_check.cpp | ||
opencl.cpp | ||
OpenCVDetectCudaArch.cu | ||
openvx_refenum_test.cpp | ||
vtk_test.cpp | ||
vulkan.cpp | ||
webnn.cpp | ||
win32uitest.cpp |