摘要:
对于直线倾斜的成串字符 可以通过 开运算连成一片 在用细化算法 求直线 算出倾斜角度 以此纠正// ration1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "highgui.h"#include "cv.h"#include "cxcore.h"#ifdef DEBUG#pragma comment(lib," opencv_core231d.lib")#pragma comment(lib,"opencv_features2 阅读全文
摘要:
通过求外接椭圆,算出纠正角度// ration2.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "highgui.h"#include "cv.h"#include "cxcore.h"#ifdef DEBUG#pragma comment(lib," opencv_core231d.lib")#pragma comment(lib,"opencv_features2d231d.lib")#pragma comment(l 阅读全文