Skip to content

Add C++ demo for LPD-YuNet license plate detection#311

Open
sunshiqin3630-ship-it wants to merge 2 commits into
opencv:mainfrom
sunshiqin3630-ship-it:add-lpd-yunet-cpp-demo
Open

Add C++ demo for LPD-YuNet license plate detection#311
sunshiqin3630-ship-it wants to merge 2 commits into
opencv:mainfrom
sunshiqin3630-ship-it:add-lpd-yunet-cpp-demo

Conversation

@sunshiqin3630-ship-it

Copy link
Copy Markdown

Summary

Part of #135.

This PR adds a C++ demo for license_plate_detection_yunet, which already had a Python demo but did not have a C++ demo or model-local CMake target.

Changes:

  • add models/license_plate_detection_yunet/demo.cpp
  • add models/license_plate_detection_yunet/CMakeLists.txt
  • update README with C++ build and run instructions

Validation

  • git diff --cached --check
  • cmake -S models/license_plate_detection_yunet -B /tmp/opencv_zoo_lpd_build -DOpenCV_DIR=<local OpenCV 4.14 build>
  • g++ -std=c++11 -c models/license_plate_detection_yunet/demo.cpp ...

Full local link build was blocked by an incomplete local OpenCV installation: its CMake package referenced missing include paths and libopencv_gapi.so.4.14.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant