Home > other > Who can help identify authentication code in python
Who can help identify authentication code in python
Time:09-15
Research for a long time, just can't identified Def clean_image (image_path) : # to open the picture Image=image. Open (image_path) Im=image. The convert (" L ")
# processing each pixel point on the map, make each point on the drawing "black and white" Image=image. Point (lambda x: 0 if x & lt; 143 else 255) Border_image=ImageOps. Expand (image, border=20, the fill='white') Border_image. Save (image_path) Print (pytesseract. Image_to_string (image_path))
If want to contact a bit deep learning, you can try CRNN, or simple corrosion cutting through the opencv, again through the simple VGG processing of a single character