求大佬赐教,如何识别这种验证码
本帖最后由 螺旋菜鸟 于 2021-8-10 16:49 编辑最近在做自动化,遇到验证码,想自己用pytesseract来识别些简单的图形验证码。
请问以下这种图片如何识别data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAj0AAACnCAYAAAD68+0NAAAZ5ElEQVR4Ae2dj3MzR32H83eXgaGhlFJKGRKmUEI7kARoSdJCSCiFhEKb0BIKtCEvpaWh0BJZtn5ZP2xZsvVu5yPnbFm6293TSSvt7nMzjvNKsu7ue89999kft/tEfzw3/BADGIABGIABGICB1Bl4IvUT5Py4iWEABmAABmAABsQA0kNLFy19MAADMAADMJAFA0gPoGcBOrU8ankwAAMwAANID9KD9MAADMAADMBAFgwgPYCeBejU8KjhwQAMwAAMID1ID9IDAzAAAzAAA1kwgPQAehagU8OjhgcDMAADMID0ID1IDwzAAAzAAAxkwQDSA+hZgE4NjxoeDMAADMAA0oP0ID0wAAMwAAMwkAUDSA+gZwE6NTxqeDAAAzAAA0gP0oP0wAAMwAAMwEAWDCA9gJ4F6NTwqOHBAAzAAAwgPUgP0gMDMAADMAADWTCA9AB6FqBTw6OGBwMwAAMwgPQgPUgPDMAADMAADGTBANID6FmATg2PGh4MwAAMwADSg/QgPTAAAzAAAzCQBQNID6BnATo1PGp4MAADMAADSA/Sg/TAAAzAAAzAQBYMID2AngXo1PCo4cEADMAADCA9SA/SAwMwAAMwAANZMID0AHoWoFPDo4YHAzAAAzCA9CA9SA8MwAAMwAAMZMEA0gPoWYBODY8aHgzAAAzAANKD9CA9MAADMAADMJAFA0gPoGcBOjU8angwAAMwAAPRSo/Z49aaz83r4/Hy5/l+33yh2zVPdzrmA60WP8QABmAABmDAmwGVHSpDVJYU5YrKmH1uyF213CE9xpjpYmF+MZ2alwYD85F22/xeq8UPMYABGIABGNgbAyprXhwMlmWPyqBdbkgP0lPKk2xb9q0WHESHGMAADMAADByCAZVBKov6NzelZVXdF5EepOcBMwLrpfNzZAfZQ3ZhAAZg4KgYUOtPU/l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rUfe+2H+BAfGICBHBhAepAepAcGYAAGYAAGsmAA6QH0LEDPoQbDOVJThwEYgAE7A0gP0oP0wAAMwAAMwEAWDCA9gJ4F6NR+7LUf4kN8YAAGcmAA6UF6kB4YgAEYgAEYyIIBpAfQswA9hxoM50hNHQZgAAbsDCA9SA/SAwMwAAMwAANZMID0AHoWoFP7sdd+iA/xgQEYyIEBpAfpQXpgAAZgAAZgIAsGkB5AzwL0HGownCM1dRiAARiwM4D0ID1IDwzAAAzAAAxkwQDSA+hZgE7tx177IT7EBwZgIAcGkB6kB+mBARiAARiAgSwY+H8rhzsUqiCGfgAAAABJRU5ErkJggg==
是否需要使用二值化、灰度处理?
百度接口识别
页:
[1]