Browse Source

Update FastDeskew.cpp

pull/1/MERGE
Jack Yu GitHub 7 years ago
parent
commit
b4e9f662ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      Prj-Linux/lpr/src/FastDeskew.cpp

+ 2
- 4
Prj-Linux/lpr/src/FastDeskew.cpp View File

@@ -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;


Loading…
Cancel
Save