How to get the filename of this particular output "results = pipeline.transform(images)" on Spark OCR? #337
-
How to Get the filename of this particular output? results.write "ocr_-00000-720e27e1-60e3-43a7-ba3a-f11289574ed2-c000.txt" is the filename and gets generated randomly when the results.write is called. How to get the filename after the results.write is executed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are using Spark DataSource and it is distributed solution. |
Beta Was this translation helpful? Give feedback.
You are using Spark DataSource and it is distributed solution.
If you want to store file locally to some specific file you can collect data and store it using Scala or Python capabilities.