| 1234567891011121314 |
- package ocr
- func ProcessImage(rawPath string, stepList []string) (processedPath string, err error) {
- if len(stepList) < 1 {
- return rawPath, nil
- }
- processedPath, err = Preprocess(rawPath, stepList)
- if err != nil {
- return processedPath, err
- }
- return processedPath, nil
- }
|