From 7426cdde82ed9dfcb4a592dc0a865052150340e5 Mon Sep 17 00:00:00 2001 From: ce806665 Date: Fri, 11 Oct 2019 01:39:59 +0200 Subject: [PATCH] Update Recadrage.java --- src/lecturePdf/Recadrage.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lecturePdf/Recadrage.java b/src/lecturePdf/Recadrage.java index 0504399..b0bc14c 100644 --- a/src/lecturePdf/Recadrage.java +++ b/src/lecturePdf/Recadrage.java @@ -72,7 +72,7 @@ public class Recadrage { count++; } } - if (count>img.getWidth()/5.4 && count img.getWidth()*0.1 && count img.getHeight()*0.1) @@ -131,7 +131,7 @@ public class Recadrage { } public boolean entreEnvers() { //compte pour 10 dern % de la page le nb de pixels noirs si > bas de la page alors retourner - System.out.println("roar"); + //System.out.println("roar"); boolean stop2=false; int countH=0; int countB=0; @@ -212,10 +212,7 @@ public class Recadrage { public int[][] RdB() { // cherche les 4 points noirs int[][] pixNoirs = new int[img.getWidth()*img.getHeight()][2]; - int[][] regroupY = new int[img.getWidth()*img.getHeight()][2]; - int boucleY=0;int groupYi=0; int i=0; - int diamMax=0; int radius=8; // 19= limite de detection de checkCircle for (int ty=0; ty