Skip to content

Commit

Permalink
variable tipying fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
joapaspe committed Feb 24, 2014
1 parent f469c8c commit 74d0703
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ namespace OCR {
// From the points of the topline and baseline, adds the ascenderes and descenders
MatrixFloat *add_asc_desc (ImageFloat *img,
MatrixFloat *line_mat,
int v_threshold,
float h_threshold
float v_threshold,
int h_threshold
)
{
// Precondition mat size must be columns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ namespace OCR {

MatrixFloat *add_asc_desc (ImageFloat *img,
MatrixFloat *line_mat,
int v_treshold = 5,
float h_threshold = 22.0f
float v_treshold = 5,
int h_threshold = 22.0f
);
ImageFloat *normalize_size(ImageFloat *source, float ascender_ratio, float descender_ratio,
april_utils::vector<Point2D> ascenders, april_utils::vector<Point2D> upper_baseline,
Expand Down

0 comments on commit 74d0703

Please sign in to comment.