You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10 using MSYS2 and Development by VSCODE
uname -a
MSYS_NT-10.0-16299 DESKTOP-QOD72I1 3.0.7-338.x86_64 2019-07-11 10:58 UTC x86_64 Msys
go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\avan\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=F:\cht\GOPATH
set GOPROXY=
set GORACE=
set GOROOT=F:\cht\go\go1.12.7
set GOTMPDIR=
set GOTOOLDIR=F:\cht\go\go1.12.7\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\avan\AppData\Local\Temp\go-build231297478=/tmp/go-build -gno-record-gcc-switches
I just ran into this issue as well, for now to work around I'm just setting the variable name instead of using the SetPageMode client.SetVariable("tessedit_pageseg_mode", "1")
In debugging the issue something in the client.init() is resetting the value to the default value of 6, once init() isn't called for subsequent images everything works smoothly.
Summary
Reproducibility
Reproducibility Frequency
Reproducible
Environment
The text was updated successfully, but these errors were encountered: