I'm trying to extract text from colored background images. One approach that I'm trying is edge detection. Using that I convert the original image to a image that I can work with. This will eliminate all the color in the image leaving only the edges.
I use this code to get the edged Image
import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread('messi5.jpg',0)
edges = cv2.Canny(img,100,200)
My problem is after I get these images how can I track the Letters in those images? Any help would be great. Thank you guys
These are the original and edge detected Images
Original Image
Edge Detected Image