hyperlpr 车牌训练过程

https://blog.csdn.net/wojiuguowei/article/details/79229125 安装QT

https://github.com/openalpr/plate_tagger 安装标定工具

Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake
 

export Qt5Widgets_DIR=/opt/Qt5.9.1/5.9.1/gcc_64/lib/cmake/Qt5Widgets

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
yum install gcc-c++

fatal error: ui_about.h: No such file or directory

find / -name qmake
/usr/lib/qt5/bin/qmake
/usr/lib64/qt5/bin/qmake
/usr/x86_64-w64-mingw32/bin/qt5/qmake
find: ‘/home/tushen/thinclient_drives’: Permission denied
/opt/Qt5.9.1/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qmake
/opt/Qt5.9.1/Docs/Qt-5.9.1/qmake
/opt/Qt5.9.1/Examples/Qt-5.9.1/qmake
/opt/Qt5.9.1/5.9.1/gcc_64/bin/qmake
/opt/Qt5.9.1/5.9.1/android_armv7/bin/qmake
cmake换成qmake,qmake,cmake.make,make install

yum search qt5-qtbase-

yum install libstdc++-devel.i686

yum -y install glibc-devel.i686 glibc-devel

undefined reference to `non-virtual thunk to QWidget::sharedPainter() const'
collect2: error: ld returned 1 exit status
标注数据的过程

https://i.youku.com/i/UMzc0ODIxODMwOA==

训练过程。

U2FsdGVkX1+ibQzyYf8MhDlC/3i/NbsyddqZyjeXDekrsWa1BhbF1+ag8ds+KBM7
qmMo9HNhB76MtMjTKPvq4g==

python crop_plates.py --input_dir=/home/tushen/Downloads/pic/val --out_dir=/home/tushen/Downloads/pic/out --plate_width=36 --plate_height=18

Traceback (most recent call last):
  File "crop_plates.py", line 7, in <module>
    import cv, cv2
  File "/usr/lib64/python2.7/site-packages/cv.py", line 3, in <module>
    from cv2.cv import *
ImportError: No module named cv

pip install opencv-python==3.1.0.0 --default-timeout=120

===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   100 : 100
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

ubuntu下安装opencv3.2.0 没有问题

https://docs.opencv.org/3.2.0/d7/d9f/tutorial_linux_install.html opencv安装

===== TRAINING 9-stage =====
<BEGIN
POpenCV(3.4.1) Error: Bad argument (Can not get new positive sample. The most possible reason is insufficient count of samples in given vec-file.
) in get, file /home/luhui/opencv-3.4.1/apps/traincascade/imagestorage.cpp, line 158
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(3.4.1) /home/luhui/opencv-3.4.1/apps/traincascade/imagestorage.cpp:158: error: (-5) Can not get new positive sample. The most possible reason is insufficient count of samples in given vec-file.
 in function get

Aborted (core dumped)327
修改-numPos 1347 改小点

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值