From 2e3bef288256fe25f982b9adeaacd2930cccd21e Mon Sep 17 00:00:00 2001 From: Antonia Rescribe Date: Mon, 20 Dec 2021 12:06:30 +0000 Subject: fixed -png flag and changed rescribe tool to save binarized png in separate folder --- cmd/rescribe/gui.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/rescribe/gui.go') diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index 5e9e1dc..36d9b3a 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -99,6 +99,8 @@ func startGui(log log.Logger, cmd string, training string, systess bool, tessdir myApp := app.New() myWindow := myApp.NewWindow("Rescribe OCR") + myWindow.Resize(fyne.NewSize(800, 400)) + var gobtn *widget.Button dir := widget.NewEntry() @@ -126,7 +128,7 @@ func startGui(log log.Logger, cmd string, training string, systess bool, tessdir logarea.Disable() // TODO: have the button be pressed if enter is pressed - gobtn = widget.NewButtonWithIcon("Process OCR", theme.UploadIcon(), func() { + gobtn = widget.NewButtonWithIcon("Start OCR", theme.UploadIcon(), func() { if dir.Text == "" { return } -- cgit v1.2.1-24-ge1ad