Update FastDeskew.cpp

master
Jack Yu 7 years ago committed by GitHub
parent c40f3eea86
commit b4e9f662ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,13 +7,11 @@
#include <../include/FastDeskew.h> #include <../include/FastDeskew.h>
namespace pr{ namespace pr{
const int ANGLE_MIN = 30 ;
const int ANGLE_MIN = 30 ;
const int ANGLE_MAX = 150 ; const int ANGLE_MAX = 150 ;
const int PLATE_H = 36; const int PLATE_H = 36;
const int PLATE_W = 136; const int PLATE_W = 136;
int angle(float x,float y) int angle(float x,float y)
{ {
return atan2(x,y)*180/3.1415; return atan2(x,y)*180/3.1415;

Loading…
Cancel
Save