public class DetectSaveMultipleObjectsUseCase
Encapsulate multiple object detection, cropping and storing detected regions as pages.
@Inject
public DetectSaveMultipleObjectsUseCase(@NotNull
io.scanbot.sdk.docprocessing.PageProcessor pageProcessor,
@NotNull
io.scanbot.sdk.persistence.PageFileStorage pageFileStorage,
@NotNull
io.scanbot.sdk.process.ImageProcessor imageProcessor,
@NotNull
io.scanbot.multipleobjectsscanner.MultipleObjectsDetector multipleObjectsDetector)
Encapsulate multiple object detection, cropping and storing detected regions as pages.
@NotNull
public io.reactivex.Flowable<java.util.List> detectAndSave(@NotNull
kotlin.Array[] image,
int imageOrientation)
Run multiple object detection, crop detected, save as Pages list.
image - image to detect uponimageOrientation - image orientation as from camera callback