4.1.0
Release date: 22-09-2022
Overview
We are glad to announce that Spark OCR 4.1.0 has been released! This release comes with new features, enhancements, fixes and more!
New Features
-
DicomSplitter: new annotator that helps to distribute and split Dicom files into multiple frames. It supports multiple strategies, similar to our PdfToImage annotator. It enables parallel processing of different frames and keeps memory utilization bounded. For big datasets, or memory constrained environments, it enables Streaming Mode to process frames 1-by-1, resulting in very low memory requirements.
- DicomToImageV2: new annotator that supports loading images from Dicom files/frames, without loading Dicom files into memory. Targeted to datasets containing big Dicom files.
- This is an example on how to use the two above mentioned annotators to process images, coming from your big Dicom files in a memory constrained setting,
splitter = DicomSplitter()
splitter.setInputCol("path")
splitter.setOutputCol("frames")
splitter.setSplitNumBatch(2)
splitter.setPartitionNum(2)
dicom = DicomToImageV2()
dicom.setInputCols(["path", "frames"])
dicom.setOutputCol("image")
pipeline = PipelineModel(stages=[
splitter,
dicom
])
- New image pre-processing annotators: ImageHomogenizeLight, ImageRemoveBackground, ImageEnhanceContrast, ImageRemoveGlare. For examples on how to use them, and their amazing results check this notebook: SparkOcrImagePreprocessing.ipynb.
Improvements
- VisualDocumentClassifierV2 training has been improved for more efficient memory utilization.
- Library dependencies have been updated to remove security vulnerabilities.
Bug Fixes
- The infamous “ImportError: No module named resource” bug that was affecting Windows users has been fixed.
- Some issues while loading images using AlabReader have been fixed.
Versions
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.2
- 5.1.0
- 5.0.2
- 5.0.1
- 5.0.0
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.3
- 4.3.0
- 4.2.4
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.2
- 4.0.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.1
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
PREVIOUSRelease Notes