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))

Image_path=r 'D: \ BaiduNetdiskDownload \ kaxinbao \ screen \ 123. PNG'
Clean_image (image_path)

CodePudding user response:

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

CodePudding user response:

reference 1st floor Dream__xiaobei response:
, if want to contact a bit deep learning can try CRNN, or through the opencv, easy corrosion of cutting, and then the processing of a single character through simple VGG

Without interference lines can identify with the line interference recognition not to come out, this have what way?
Want to, one step a footprint to repair this first

CodePudding user response:

That use opencv corrosion, dropped the interference of line corrosion, and then have a try

CodePudding user response:

Why don't you get some verification code data sets, I try

CodePudding user response:

reference 4 floor Dream__xiaobei response:
why don't you get some verification code data sets, I try

The pictures I send you direct messages, you see?

CodePudding user response:

reference 5 floor qq_41042334 reply:
Quote: refer to 4th floor Dream__xiaobei response:

Why don't you get some verification code data sets, I try

The pictures I send you direct messages, you see?

I see, is processing

CodePudding user response:

refer to 6th floor Dream__xiaobei response:
Quote: refer to the 5 floor qq_41042334 response:
Quote: refer to 4th floor Dream__xiaobei response:

Why don't you get some verification code data sets, I try

The pictures I send you direct messages, you see?

I see, is processing

You look at the interference lines removed
  • Related