This commit is contained in:
parent
399db2b27c
commit
8ab50d7e81
@ -50,9 +50,6 @@ public class MainWindow
|
|||||||
timestampLabel.setBounds(new Rectangle(bordersPx, bordersPx + rescaleHeight + bordersPx, 100, 30));
|
timestampLabel.setBounds(new Rectangle(bordersPx, bordersPx + rescaleHeight + bordersPx, 100, 30));
|
||||||
frame.add(timestampLabel);
|
frame.add(timestampLabel);
|
||||||
|
|
||||||
String ocr = doOCR(preciseScreenshot);
|
|
||||||
LOGGER.info("OCR FOUND : {}", ocr);
|
|
||||||
|
|
||||||
|
|
||||||
frame.setLayout(null);
|
frame.setLayout(null);
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
@ -85,12 +82,6 @@ public class MainWindow
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String doOCR(Image image) {
|
|
||||||
// todo BufferedImage bImage = getBufferedImage(image);
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BufferedImage getBufferedImage(Image img) {
|
public BufferedImage getBufferedImage(Image img) {
|
||||||
if (img instanceof BufferedImage image)
|
if (img instanceof BufferedImage image)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user