Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to extract text from very small image using python opencv

Hi All,

I'm new bee for python openCV, can you help me to extract text from small image.Can you check my uploaded image.

i have tried Below code, But i'm not getting expected result.

import sys

import cv2

import numpy as np

import pytesseract

img = Image.open("TestImge.PNG")

pytesseract.pytesseract.tesseract_cmd = 'F:\Python27\Tesseract-OCR\tesseract'

print(pytesseract.image_to_string(img))

my Expected output Is

Show the following Claims

But i'm getting

Sltowvcololovangccrno

my image

alt text

Help me to done.

Thanks,

how to extract text from very small image using python opencv

Hi All,

I'm new bee for python openCV, can you help me to extract text from small image.Can you check my uploaded image.

i have tried Below code, But i'm not getting expected result.

import sys

import cv2

import numpy as np

import pytesseract

img = Image.open("TestImge.PNG")

pytesseract.pytesseract.tesseract_cmd = 'F:\Python27\Tesseract-OCR\tesseract'

print(pytesseract.image_to_string(img))

my Expected output Is

Show the following Claims

But i'm getting

Sltowvcololovangccrno

my image

alt text

Help me to done.

Thanks,

how to extract text from very small image using python opencv

Hi All,

I'm new bee for python openCV, can you help me to extract text from small image.Can you check my uploaded image.

i have tried Below code, But i'm not getting expected result.

import sys

sys import cv2

import numpy as np

np import pytesseract

import pytesseract

img = Image.open("TestImge.PNG")

pytesseract.pytesseract.tesseract_cmd = 'F:\Python27\Tesseract-OCR\tesseract'

print(pytesseract.image_to_string(img))

'F:\\Python27\\Tesseract-OCR\\tesseract' print(pytesseract.image_to_string(img))

my Expected output Is

Show the following Claims

Claims

But i'm getting

Sltowvcololovangccrno

Sltowvcololovangccrno

my image

alt text

Help me to done.

Thanks,

how to extract text from very small image using python opencv

Hi All,

I'm new bee for python openCV, can you help me to extract text from small image.Can you check my uploaded image.

i have tried Below code, But i'm not getting expected result.

import sys
import cv2 
import numpy as np
import pytesseract

img = Image.open("TestImge.PNG")  
pytesseract.pytesseract.tesseract_cmd = 'F:\\Python27\\Tesseract-OCR\\tesseract'
print(pytesseract.image_to_string(img))

my Expected output Is

Show the following Claims

But i'm getting

Sltowvcololovangccrno

my image

alt text

my second image

alt text

Help me to done.

Thanks,