From b4e9f662eed15fb0f7916c19093e54e91fd28ebd Mon Sep 17 00:00:00 2001 From: Jack Yu <455501914@qq.com> Date: Tue, 1 May 2018 20:29:44 +0800 Subject: [PATCH] Update FastDeskew.cpp --- Prj-Linux/lpr/src/FastDeskew.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Prj-Linux/lpr/src/FastDeskew.cpp b/Prj-Linux/lpr/src/FastDeskew.cpp index 16c9058..58c8eb3 100644 --- a/Prj-Linux/lpr/src/FastDeskew.cpp +++ b/Prj-Linux/lpr/src/FastDeskew.cpp @@ -7,13 +7,11 @@ #include <../include/FastDeskew.h> namespace pr{ - - - const int ANGLE_MIN = 30 ; + const int ANGLE_MIN = 30 ; const int ANGLE_MAX = 150 ; const int PLATE_H = 36; const int PLATE_W = 136; - + int angle(float x,float y) { return atan2(x,y)*180/3.1415;