Alexandr Sarandi

Results 16 comments of Alexandr Sarandi

Hi, @alex-rufo Is it possible to use a custom hook when converting (in the other direction) from a struct to a map ? I am using the `shopspring/decimal` package and...

hi, my guess is that the script is not able to capture a proper screenshot of `scrcpy` window it takes a screenshot of area 0, 0 to 768 H, 353...

hi, i think the error is due to `capture.show()`, please change the debug code to ``` capture.save("/tmp/capture.png"); sys.exit() ``` then try and open the file with some viewer, maybe even...

as i suspected that is not what it should "see", does it not launch the `scrcpy` program? or was it running already? please close `scrcpy` and try again, it should...

ok, assuming `scrcpy` is running in top left corner and has proper window height and width; what happens when you run the script again? can you get a proper capture...

i see some empty space on the right side of the capture image it seems that your device's aspect ratio is a little different than mine, the script might need...

have a look at the `detect_letters` function, there are 3 debug locations that are commented out, you can un-comment those one by one and compare them to these reference images:...

regarding `tesseract` on a debian based linux system do: ``` sudo apt install tesseract-ocr tesseract-ocr-eng ``` otherwise try to search for "tesseract" in your package manager, or consult the docs:...

i'm glad it's working now, you can try and comment out lines 206, 207 see if that makes a difference: https://github.com/asarandi/wordscapes-bot/blob/fc6e1ade3a76ef71ea9b7d27a5517425675da30b/script.py#L207 the developers of the app keep changing things and...

re-opening issue, please leave open so others can find it easier, thank you