I use OCR puma.net and I have a result. But the result not only contains (a b c d
), the result also contains (; / , "
).
I want to output only these characters. How can I use it?
Here is my code:
var puma = new PumaPage(img.ToBitmap());
using (puma)
{
puma.FileFormat = PumaFileFormat.RtfAnsi;
puma.EnableSpeller = false;
puma.Language = PumaLanguage.English;
try{
string t=pumaPage.RecognizeToString();
return t;
}
catch(Exception e)
{
// return e.ToString();
return "i think ! this isnt Plate";
}
}