Skip to content

Commit

Permalink
linux v4l2 capture mjpg (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Jun 1, 2024
1 parent 4393a3d commit e28b4ce
Show file tree
Hide file tree
Showing 4 changed files with 1,080 additions and 0 deletions.
5 changes: 5 additions & 0 deletions highgui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ set(highgui_srcs
${CMAKE_CURRENT_LIST_DIR}/src/nms.cpp
)

if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
list(APPEND highgui_srcs
${CMAKE_CURRENT_LIST_DIR}/src/capture_v4l2.cpp)
endif()

if(WITH_CVI)
list(APPEND highgui_srcs
${CMAKE_CURRENT_LIST_DIR}/src/capture_cvi.cpp
Expand Down
Loading

0 comments on commit e28b4ce

Please sign in to comment.