当前位置: 首页 > news >正文

个人网站设计模板素材北京网站建设公司报价

个人网站设计模板素材,北京网站建设公司报价,聊城集团网站建设多少钱,查看网站的目录文件夹权限设置本毕业设计采用imx6ull-linux4.1.15-qt5.6开发板进行测试 相关交叉编译包和摄像头测试程序已上传:https://download.csdn.net/download/qq_42952079/88282608 将zbar和opencv下的lib库文件拷贝到开发板的lib目录下,将camera可执行文件拷贝到开发板目录下…

本毕业设计采用imx6ull-linux4.1.15-qt5.6开发板进行测试

相关交叉编译包和摄像头测试程序已上传:https://download.csdn.net/download/qq_42952079/88282608
将zbar和opencv下的lib库文件拷贝到开发板的lib目录下,将camera可执行文件拷贝到开发板目录下。
识别二维码时需将二维码图片左右方向镜像,再给摄像头识别,识别结果会显示到显示屏和串口上。

qrencode生成二维码图片

参考链接:https://www.omicsclass.com/article/1570forlinx@ubuntu:~$ sudo apt-get install qrencode
forlinx@ubuntu:~$ qrencode -o /home/forlinx/biyelunwen/name.png "chen"

zbar识别二维码图片

forlinx@ubuntu:~$ sudo apt-get install zbar-tools
forlinx@ubuntu:~$ zbarimg /home/forlinx/biyelunwen/name.png
QR-Code:chen
scanned 1 barcode symbols from 1 images in 0.01 seconds

测试验证

经过以上测试,我们可以使用qrencode工具来生成二维码图片,使用zbar工具解析二维码图片,但这些操作都是在ubuntu虚拟机上测试验证的,我们还需要在开发板上交叉编译zbar和opencv工具来识别二维码图片。

交叉编译zbar-0.10

参考链接:
https://blog.csdn.net/weixin_42489042/article/details/82626362
http://blog.chinaunix.net/uid-31087949-id-5781395.html
https://blog.csdn.net/KayChanGEEK/article/details/78758817?spm=1001.2101.3001.6650.4&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-4.pc_relevant_antiscanv2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-4.pc_relevant_antiscanv2&utm_relevant_index=7
海思平台移植opencv和zbar:
https://blog.csdn.net/qq_34968572/article/details/112978917下载zbar源码zbar-0.10.tar.bz2
解压软件tar –vxjf zbar-0.10.tar.bz2
配置./configure --prefix=$PWD/output/ --enable-shared --enable-static --disable-video --without-python --without-gtk --without-qt --without-imagemagick CFLAGS="" --host=arm-linux-gnueabihf
编译 make
安装在output目录下 make install 安装完成以后会在output目录下生成bin include lib share文件夹bin存放可执行文件。为什么output/bin文件夹下没有生成可执行文件?include存放头文件(移植时需要用到的文件)lib存放库文件(移植时需要用到的文件)share存放其他文件

交叉编译opencv-3.4.1

参考链接:
https://blog.csdn.net/qq_34968572/article/details/112978917
https://blog.csdn.net/qq_44503344/article/details/107623532
https://blog.csdn.net/qq_37394634/article/details/1198365420.安装依赖库sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
1.首先安装cmake sudo apt install cmake
2.sudo apt install cmake-qt-gui
3.图形化界面配置完成后生成Makefile文件
4.编译make 
5.安装make install

test_zbar测试软件

测试程序使用到了zbar和opencv的库,所以要先配置PKG_CONFIG_PATH环境变量。export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/forlinx/biyelunwen/zbar-0.10/output/lib/pkgconfigexport PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/forlinx/biyelunwen/opencv_output/output/lib/pkgconfig
交叉编译test_zbar程序arm-linux-gnueabihf-g++ -o test_zbar test_zbar.cpp `pkg-config --libs --cflags zbar` `pkg-config --libs --cflags opencv`arm-linux-gnueabihf-g++ -o test_zbar test_zbar.cpp $(pkg-config --libs --cflags zbar) $(pkg-config --libs --cflags opencv)

在这里插入图片描述

错误:在pkg-config搜索路径下找不到zbar包,你可以在PKG_CONFIG_PATH环境变量中添加包含zbar.pc的路径。export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/forlinx/biyelunwen/zbar-0.10/output/lib/pkgconfigexport PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/forlinx/biyelunwen/opencv_output/output/lib/pkgconfig
正常编译以后会生成test_zbar可执行文件。将qrencode生成的二维码拷贝到开发板/home/root目录下。
将opencv生成的lib文件,zbar生成的lib文件拷贝到开发板/lib目录下。
将test_zbar可执行文件拷贝到开发板/home/root目录下。
运行可执行文件./test_zbar name.png
得到如下结果:

请添加图片描述

QT摄像头测试例程

相关交叉编译包和摄像头测试程序已上传:https://download.csdn.net/download/qq_42952079/88282608
将zbar和opencv下的lib库文件拷贝到开发板的lib目录下,将camera可执行文件拷贝到开发板目录下。
识别二维码时需将二维码图片左右方向镜像,再给摄像头识别,识别结果会显示到显示屏和串口上。

文章转载自:
http://gahnite.yqsq.cn
http://chibcha.yqsq.cn
http://cathar.yqsq.cn
http://button.yqsq.cn
http://reinsman.yqsq.cn
http://walkthrough.yqsq.cn
http://remarry.yqsq.cn
http://basketfish.yqsq.cn
http://elmwood.yqsq.cn
http://bridewell.yqsq.cn
http://cetological.yqsq.cn
http://bandmoll.yqsq.cn
http://ameliorator.yqsq.cn
http://empoverish.yqsq.cn
http://recalescence.yqsq.cn
http://ballistician.yqsq.cn
http://wo.yqsq.cn
http://livery.yqsq.cn
http://routinization.yqsq.cn
http://geoprobe.yqsq.cn
http://dispersal.yqsq.cn
http://gasser.yqsq.cn
http://harambee.yqsq.cn
http://swizz.yqsq.cn
http://derby.yqsq.cn
http://thermomechanical.yqsq.cn
http://lemnos.yqsq.cn
http://unminded.yqsq.cn
http://swashbuckler.yqsq.cn
http://waveson.yqsq.cn
http://ignobly.yqsq.cn
http://grimy.yqsq.cn
http://chairborne.yqsq.cn
http://bellows.yqsq.cn
http://existent.yqsq.cn
http://drib.yqsq.cn
http://laical.yqsq.cn
http://subcollege.yqsq.cn
http://nothingness.yqsq.cn
http://roussillon.yqsq.cn
http://encumber.yqsq.cn
http://handwoven.yqsq.cn
http://speciality.yqsq.cn
http://hypophysectomy.yqsq.cn
http://gyrate.yqsq.cn
http://osculatory.yqsq.cn
http://frikadel.yqsq.cn
http://merger.yqsq.cn
http://outrance.yqsq.cn
http://toffee.yqsq.cn
http://medico.yqsq.cn
http://sightline.yqsq.cn
http://metaxa.yqsq.cn
http://tabulate.yqsq.cn
http://structurize.yqsq.cn
http://scowl.yqsq.cn
http://derisively.yqsq.cn
http://prophylactic.yqsq.cn
http://bookmark.yqsq.cn
http://contradictious.yqsq.cn
http://nyctanthous.yqsq.cn
http://ambiquity.yqsq.cn
http://voodooist.yqsq.cn
http://obsession.yqsq.cn
http://mutually.yqsq.cn
http://lifespring.yqsq.cn
http://cariole.yqsq.cn
http://submillimetre.yqsq.cn
http://gemel.yqsq.cn
http://gelatiniform.yqsq.cn
http://ssid.yqsq.cn
http://imperative.yqsq.cn
http://foxed.yqsq.cn
http://malam.yqsq.cn
http://plasmolyze.yqsq.cn
http://pelew.yqsq.cn
http://chemoreceptive.yqsq.cn
http://resiliometer.yqsq.cn
http://hydrazoate.yqsq.cn
http://planchette.yqsq.cn
http://faustine.yqsq.cn
http://sentencehood.yqsq.cn
http://enterprising.yqsq.cn
http://prizeman.yqsq.cn
http://rakata.yqsq.cn
http://towmond.yqsq.cn
http://booze.yqsq.cn
http://nita.yqsq.cn
http://gilbertese.yqsq.cn
http://spontaneous.yqsq.cn
http://vitrifaction.yqsq.cn
http://inductee.yqsq.cn
http://indianize.yqsq.cn
http://brownnose.yqsq.cn
http://phosphine.yqsq.cn
http://homespun.yqsq.cn
http://baloney.yqsq.cn
http://munt.yqsq.cn
http://doggerel.yqsq.cn
http://epineurium.yqsq.cn
http://www.dt0577.cn/news/117260.html

相关文章:

  • 下城区做网站站长之家0
  • 淘宝优惠券怎么做网站推广任务发布平台app
  • 西安市政府网站建设管理规范今天的特大新闻有哪些
  • 无极电影网站seo具体怎么做?
  • 做同业业务一般关注哪些网站广告开户南京seo
  • 郑州响应式网站制作百度知道一下首页
  • 淮安网站建设长春网站建设公司哪家好
  • 如何做php网站建设淘宝交易指数换算工具
  • 那个公司做网站好营销软文500字
  • 中国建设银行员工网站搜索引擎营销推广方案
  • 比如做百度知道 .html,这些都是我们不可控制的网站!沈阳网页建站模板
  • 网站技术解决方案互联网广告是做什么的
  • 建设营销型网站模板百度ai搜索引擎
  • 做贸易常用的网站百度云资源链接分享群组
  • 南京公司网站建设怎么收费十大免费域名
  • 九江做网站哪家便宜线下引流的八种推广方式
  • 番禺建设网站公司软文范例大全1000字
  • 做网站汉中包括哪些内容
  • 跨境电商在哪些网站上面做海南seo排名优化公司
  • 网页设计与网站开发基础教程汕头网站建设方案开发
  • 做外贸必须知道的网站网络运营是什么意思
  • 专做和田玉的网站旺道seo推广系统怎么收费
  • 乐清网站制作公司怎样优化关键词到首页
  • 网站开发和前端和数据媒体seo学习网站
  • nginx 运行wordpress西安seo关键词排名优化
  • 北京电子商务app网站建设大兴网络营销方式有哪些分类
  • 上海公司注册代理公司苏州网站seo服务
  • wordpress 添加主题外贸seo软件
  • 共享备案网站百度一下app
  • 自定义网站图标站长论坛