文章分类 -  opencv

摘要:./imglab -c mydataset.xml /tmp/images ./imglab mydataset.xml Next, let's assume you have a folder of images called /tmp/images. These images should co 阅读全文
posted @ 2017-11-08 16:33 飞晨信息 阅读(411) 评论(0) 推荐(0)
摘要:cmake -DCMAKE_INSTALL_PREFIX=D:/libs/dlib -DUSE_AVX_INSTRUCTIONS=ON -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -G"MinG 阅读全文
posted @ 2017-11-08 09:36 飞晨信息 阅读(292) 评论(0) 推荐(0)
摘要:go build -x -v -ldflags "-s -w" -buildmode=c-archive -o GoServer.a GoServer.go 阅读全文
posted @ 2017-11-07 09:48 飞晨信息 阅读(374) 评论(0) 推荐(0)
摘要:/usr/bin/c++ -static -static-libstdc++ -static-libgcc CMakeFiles/ABOCRServer.dir/main.cpp.o CMakeFiles/ABOCRServer.dir/RobustMatcher.cpp.o CMakeFiles/ 阅读全文
posted @ 2017-11-06 16:19 飞晨信息 阅读(381) 评论(0) 推荐(0)
摘要:sudo apt-get install build-essential sudo apt-get install cmake git pkg-config libgtk2.0-dev libavcodec-dev libavformat-dev libswscale-dev sudo apt-ge 阅读全文
posted @ 2017-11-03 16:42 飞晨信息 阅读(109) 评论(0) 推荐(0)
摘要:#include <iostream>#include <fstream>#include <opencv2/opencv.hpp>#include "Tools.h"#include "ResourceManager.h"#include "RobustMatcher.h"using namesp 阅读全文
posted @ 2017-11-03 09:42 飞晨信息 阅读(127) 评论(0) 推荐(0)
摘要:#include <iostream>#include <fstream>#include <opencv2/opencv.hpp>#include "Tools.h"#include "ResourceManager.h"#include "RobustMatcher.h"using namesp 阅读全文
posted @ 2017-11-02 18:17 飞晨信息 阅读(112) 评论(0) 推荐(0)
摘要:mingw32-make -j8 mingw32-make install 阅读全文
posted @ 2017-10-24 13:23 飞晨信息 阅读(422) 评论(0) 推荐(0)
摘要:cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/opt/opencv3.4.3 -DINSTALL_C_EXAMPLES=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DOPENCV_EXTRA_MODULES 阅读全文
posted @ 2017-10-24 10:44 飞晨信息 阅读(1385) 评论(0) 推荐(0)
摘要:I met the same issue with opencv3.0.0 to be built with mingw, and I have workaround this, the way I worked around is, edit file %OPENCV_HOME%\sources\ 阅读全文
posted @ 2017-10-24 10:35 飞晨信息 阅读(1015) 评论(0) 推荐(0)
摘要:解决这个问题,下面CMake option: ENABLE_PRECOMPILED_HEADERS=OFF就这个了,好像也有提供cmake补丁的,或者cmake降级的 阅读全文
posted @ 2017-10-24 10:25 飞晨信息 阅读(1464) 评论(0) 推荐(0)
摘要:cv::cvtColor(matROI_Brightness2, matROI_Brightness2, COLOR_BGR2GRAY);scalar = cv::mean(matROI_Brightness2);Mat tmp_m, tmp_sd;cv::meanStdDev(matROI_Bri 阅读全文
posted @ 2017-10-19 16:30 飞晨信息 阅读(1507) 评论(0) 推荐(0)
摘要:cv::Mat src_gray;cv::cvtColor(matROI_IDCard, src_gray, cv::COLOR_BGR2GRAY);cv::Mat filtered;cv::GaussianBlur(src_gray, filtered, cv::Size(3, 3), 0);Ma 阅读全文
posted @ 2017-10-13 14:43 飞晨信息 阅读(209) 评论(0) 推荐(0)
摘要:double angle(cv::Point pt1, cv::Point pt2, cv::Point pt0) { double dx1 = pt1.x - pt0.x; double dy1 = pt1.y - pt0.y; double dx2 = pt2.x - pt0.x; double 阅读全文
posted @ 2017-10-13 14:42 飞晨信息 阅读(284) 评论(0) 推荐(0)
摘要://static cv::Mat lastMat = Mat();//static int similarityCount = 0;int getSimilarity(const Mat &matROI_IDCard, const Mat &lastMat) { Mat matDst1, matDs 阅读全文
posted @ 2017-10-13 14:40 飞晨信息 阅读(1838) 评论(0) 推荐(0)