I have two images but i dont have the fonts for recognize exist any way of use the digit for output true when the image contain this digit or another way of recognize creating a fonts from jpg file (I use tesseract but not work with this image)
please give me a recommendation
exist a way of recognize number without the fonts ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: exist a way of recognize number without the fonts ?
The are only ten digits: 0, 1, 2, ... 9. You can crop each to a sample. Then, when you want to find the digits in an image, you can sub-search the image for each sample in turn.
snibgo's IM pages: im.snibgo.com
Re: exist a way of recognize number without the fonts ?
hi thanks but i use subsearch but this output a coordinate not output true or false and when the image dont recognize then output other rare cordinate magick compare -metric rmse -subimage-search -dissimilarity-threshold 1 circle4.png NUMERO0.png null: 2>&1
how i could use a command for print true or false
how i could use a command for print true or false
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: exist a way of recognize number without the fonts ?
Code: Select all
compare -metric RMSE -subimage-search -dissimilarity-threshold 1 r2.png r.png NULL:
8152.75 (0.124403) @ 32,20
snibgo's IM pages: im.snibgo.com
Re: exist a way of recognize number without the fonts ?
when i do with diferent image appears 19967.9 (0.304691) @ 151,53d
19967.9 (0.304691) @ 151,53d
19967.9 (0.304691) @ 151,53d
Re: exist a way of recognize number without the fonts ?
circle4
then this command not doing a perfect match cant output true or false when does match
then this command not doing a perfect match cant output true or false when does match
Re: exist a way of recognize number without the fonts ?
compare -metric RMSE -subimage-search -dissimilarity-threshold 1 circle4.png NUMERO0.png NULL:
Re: exist a way of recognize number without the fonts ?
how i can do a perferct match i use the same command with various image and i get another coordinates Although the image does not appears the number