
#Wxtoimg crashes install#
I think Tesseract OCR would support Spanish, but you would need to add the language package and also change the tesseract command in the pitextreader.py slightly:$ sudo apt-get install tesseract-ocr-spacmd = "/usr/bin/tesseract -l spa /tmp/image.jpg /tmp/text"Changing the program to use festival instead of flite is a little more involved, but if you experiment with the command line version of festival and then substitute it for the flite commands in pitextreader.py it should work. To support Spanish, I believe you would need to change the Text to Speech engine from Flite to Festival as I don't believe Flite supports Spanish. Note that uninstalling the apps probably leaves behind (mangled?) settings/config files or registry settings.
#Wxtoimg crashes driver#
If it still shows in Device Mgr, then there is another driver loading and maybe conflicting.If turning on the laser w/o running any app seems ok, then it appears that the app is sending gcode down to the nano that it cannot interpret properly. Uninstall the driver, reboot and plug the USB back in. If it still starts the laser and the motors, then something is weird with the driver on the PC. The driver should load but nothing sent to the Nano. Try this: unplug usb,reboot computer, plug in cable but don't start any laser app. That sounds like a driver or gcode initialization issue. In the video, I did see that when you unplug USB, the laser & servos stop. Note that uninstalling the apps probably leaves behind (mangled?) settings/config files or registry setting… see more » Blurry text cannot be read by the OCR program.




would have to change the line 38 in my pitextreader.py program to use the new program:CAMERA="raspistill -cfx 128:128 -awb auto -rot 180 -t 500 -o /tmp/image.jpg"I don't have a usb webcam so don't know the arguments that would be needed using fswebcam, but you can just start by using its defaults, changing it to use the output filename /tmp/image.jpg then looking at this image file to see if the text is clear and easily readable. If your camera is of this high a quality, then to use it, you would probably have to change the default raspistill program for one called fswebcam. The Pi camera is 8 megapixel capable of 3280 x 2464 resolution. Not sure if a USB webcam would work as most are too low resolution for optical character recognition (OCR) work. would have to change the line 38 in my pitextreader.py program to use the new program:CAMERA="raspistill -cfx 128:128 -awb auto -rot 180 -t 500 -o /tmp/image.jpg"I don't have a usb webcam so don't know the arguments that would be needed using fswebcam, but you can just start by using its defaults, changing it to use the output filename /tmp/image.jpg then looking at this image file to see if the text is … see more »
