Files
M332-PT-NGCC/NGCC/src/ocr/ImagesCopie.java
GROSS Paul 22c7aa27ec fix bugs
2019-10-04 13:34:50 +02:00

37 lines
566 B
Java

package ocr;
import java.awt.image.BufferedImage;
import java.util.Map;
public class ImagesCopie {
private Map<String,Img> hMapImgs;
public ImagesCopie(BufferedImage imgOriginale) {
hMapImgs = Rogneur.createHMapImgs(imgOriginale);
}
public void applyOcrForEach() {
for(Img s : hMapImgs.values())
{
s.applyOcrImg();
System.out.println("Desc : "+s.getDescription());
}
}
public Map<String, Img> gethMapImgs() {
return hMapImgs;
}
public void sethMapImgs(Map<String, Img> hMapImgs) {
this.hMapImgs = hMapImgs;
}
}