dakaugu / hqtrivia

A Python script that answers HQ Trivia questions using an OCR and google search under 10 seconds (with reasonable internet speed)
Apache License 2.0
2 stars 2 forks source link

play.py error #3

Closed bfcb closed 6 years ago

bfcb commented 6 years ago

installed terresact and added to path.

Traceback (most recent call last): File "C:\Users\jaysun\Desktop\hqtrivia-master\play.py", line 116, in feed(img) File "C:\Users\jaysun\Desktop\hqtrivia-master\play.py", line 86, in feed question, answers = text.split("?") ValueError: not enough values to unpack (expected 2, got 1)

dakaugu commented 6 years ago

Make sure to run rec.py to determine what portion of the screen you are grabbing an image and change bbox values accordingly

bfcb commented 6 years ago

i run it but it crashes immediately. I have set both bbox to same values on rec.py and play.py

edit. nvm i got the bbox to optimal settings on both. now it works.