Holds a list of samples. A sample is composed of an image, and optionally a region, together with one or several text strings of interests. These text strings indicate what outputs are expected when calling ETextReader.Read on this image. A ESampleList is meant to be used with ETextReader.Optimize, to specialize and increase the processing speed of subsequent calls to ETextReader.Read. For the ESampleList to be consistent, all the texts must belong to the same context, i.e. all the texts must share similar geometrical properties.
More...
Holds a list of samples. A sample is composed of an image, and optionally a region, together with one or several text strings of interests. These text strings indicate what outputs are expected when calling ETextReader.Read on this image. A ESampleList is meant to be used with ETextReader.Optimize, to specialize and increase the processing speed of subsequent calls to ETextReader.Read. For the ESampleList to be consistent, all the texts must belong to the same context, i.e. all the texts must share similar geometrical properties.
License(s): EasyDeepOCR
◆ ESampleList() [1/3]
| eVision.EasyDeepOCR.ESampleList.ESampleList |
( |
| ) |
|
◆ ESampleList() [2/3]
◆ ESampleList() [3/3]
◆ IsEqual()
◆ Load() [1/2]
◆ Load() [2/2]
| void eVision.EasyDeepOCR.ESampleList.Load |
( |
string | path | ) |
|
◆ ReplaceBasePath()
| void eVision.EasyDeepOCR.ESampleList.ReplaceBasePath |
( |
string | oldBasePath, |
|
|
string | newBasePath ) |
Replaces the old base path with a new base path in the image path of all ESample of the list. Throws if the old base path is not contained in one of the image paths.
- Parameters
-
| oldBasePath | Old base path to be replaced. |
| newBasePath | New path to replace the old base path with. |
◆ Save() [1/2]
◆ Save() [2/2]
| void eVision.EasyDeepOCR.ESampleList.Save |
( |
string | path | ) |
|
◆ AutomaticImageType
Returns the automatically deduced type of the sample images, provided it is the same for all samples in the list. Throws an exception otherwise.
◆ CommonBasePath
| string eVision.EasyDeepOCR.ESampleList.CommonBasePath |
|
get |
Returns the longuest base path shared by the all the image paths of the ESample in the list.
◆ Samples