摘要: int baseline = 0; string label_string = "labels...."; // 框出图像中的某个物体。cv::Point(a,b),其中a是相对于图片左边的距离,b是相对于图片上边的距离 cv::rectangle(image, cv::Point(left, to 阅读全文
posted @ 2022-07-11 16:18 好人~ 阅读(1096) 评论(0) 推荐(0)
摘要: import os def run(): os.system('xxx/anaconda3/envs/paddle_ocr/bin/python3 ../src/python_scripts/paddleOcr.py') 使用指定虚拟环境下的python运行程序即可。 阅读全文
posted @ 2022-07-11 11:07 好人~ 阅读(152) 评论(0) 推荐(0)
摘要: 我使用的编译命令如下: gcc demuxing_decoding.c -o demuxing_decoding -g -I ./ffmpeg-5.0.1/include -L ./ffmpeg-5.0.1/lib/ \ -l avcodec -l avutil -l avformat -l swr 阅读全文
posted @ 2022-07-11 09:08 好人~ 阅读(521) 评论(0) 推荐(0)
摘要: 我的原因: 使用gcc avframe.c avpacket.c main.c -o main -I /home/ubuntu1/softwares/ffmpeg/include -L /home/ubuntu1/softwares/ffmpeg/lib/ -l avcodec -l avutil 阅读全文
posted @ 2022-07-08 22:41 好人~ 阅读(288) 评论(0) 推荐(0)
摘要: 1 cmake基础 1.1 简介 CMake 和makefile关系 不同平台有自己的make标准。如果软件想跨平台,必须要保证能够在不同平台编译。而如果使用上面的 Make 工具,就得为每一种标准写一次 Makefile ,这将是一件让人抓狂的工作。 CMake就是针对上面问题所设计的工具:它首先 阅读全文
posted @ 2022-07-08 20:12 好人~ 阅读(305) 评论(0) 推荐(0)
摘要: # 1.launch.json和tasks.json、c_cpp_properties.json ## 1.1 launch.json launch.json中存放运行或者调试可执行文件时的配置: ``` { // Use IntelliSense to learn about possible a 阅读全文
posted @ 2022-07-08 19:09 好人~ 阅读(5273) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-07-05 22:48 好人~ 阅读(12) 评论(0) 推荐(0)
摘要: 在执行makefile文件时,出现如下错误: ``` /home/zwl/software/opencv4.2/lib/libopencv_imgcodecs.so:对‘TIFFReadDirectory@LIBTIFF_4.0’未定义的引用 /home/zwl/software/opencv4.2 阅读全文
posted @ 2022-07-05 12:00 好人~ 阅读(888) 评论(0) 推荐(0)
摘要: PASSAGE 1: Success in Life Success means different things for different people. Some may equate it with fame, some with wealth and still some with acc 阅读全文
posted @ 2022-07-05 09:59 好人~ 阅读(343) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-07-01 20:55 好人~ 阅读(3) 评论(0) 推荐(0)