Is there a good algorithm to detect 2 matrix are similar
I have two matrix like below (A) and (B) ↓
I want to know ,
1) Is the number (7,6) in (B) is also in (A)
2) Is B is 66%up like A .....
And ,how can I do t开发者_运维问答hat with CSharp?
Thanks for your advices.....
(A)
000000000000000000000000000000000000000
000011111111100000010000000001000000000
000000000001000000010000000001000000000
000000000100000000010000000001000000000
000000001000000000010000000001000000000
000000010000000000010000000001111111110
000000100000000000010000000001000000010
000001000000000000010000000001000000010
000010000000000000010000000001111111110
000000000000000000000000000000000000000
(B)
000000000000000000000000000000000000000
000011111111100000000000000001000000000
000000000001000000000000000001000000000
000000000100000000000000000001000000000
000000001000000000000000000001000000000
000000010000000000000000000001111111110
000000100000000000000000000001000000010
000001000000000000000000000001000000010
000010000000000000000000000001111111110
000000000000000000000000000000000000000
OCR (Optical Character Recognition) is a huge field - and not my field.
Neural networks are a potential solution depending on your situation. There is a C# solution on this Code Project page:
http://www.codeproject.com/KB/cs/neural_network_ocr.aspx
Otherwise, check out all these duplicate questions:
https://stackoverflow.com/questions/744966/any-open-source-c-ocr-library https://stackoverflow.com/questions/1512271/any-free-ocr-library-for-c
精彩评论