Class ProcessorGroup
java.lang.Object
com.microblink.blinkinput.entities.recognizers.templating.ProcessorGroup
- All Implemented Interfaces:
android.os.Parcelable
Class that represents a group of processors that will be executed on same dewarped image.
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionProcessorGroup(Rectangle processingLocation, DewarpPolicy dewarpPolicy, Processor... processors) Constructor for ProcessorGroup. -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeResultFrom(ProcessorGroup other) intprotected voidfinalize()voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
ProcessorGroup
public ProcessorGroup(@NonNull Rectangle processingLocation, @NonNull DewarpPolicy dewarpPolicy, @NonNull @Size(min=1L) Processor... processors) Constructor for ProcessorGroup.- Parameters:
processingLocation- Position in detected location that should be processed. Expressed as relative rectangle with respect to detected rectangle.dewarpPolicy- Dewarp policy that will mandate how the perspective correction will be performed.processors- Processors that will be executed on given processing location after perspective has been corrected.
-
-
Method Details
-
consumeResultFrom
-
getProcessors
-
finalize
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-