Posts

Showing posts from October, 2017

Credit Card OCR with OpenCV

The problem of recognize the text information in the credit card 1 Capturing a card image 2 Localizing or alignment: to find the different regions of text on the image Edge detection for the entire image using Sobel operator Hough line transformation 3 Segmentation: to splite the text imformation to separate digit on each Calculate the gradient image -> open operation -> aspect ratio (ratio of width and height) 4 Digits recognition Convolutional Neural Network Template Matching Challenge: illumination changes, wearing, no contrast. The most hardest part is the card number segmentation.

Trian Neural Netowrk with Noise Label

label-smoothing regularization Add noise to the label and change the label distribution as a regularization method and make the prediciton with less confident. https://www.zhihu.com/question/61971817 https://www.robots.ox.ac.uk/~vgg/rg/papers/reinception.pdf