Class ProcessorGroup
- java.lang.Object
-
- com.microblink.entities.recognizers.templating.ProcessorGroup
-
- All Implemented Interfaces:
android.os.Parcelable
public final class ProcessorGroup extends java.lang.Object implements android.os.Parcelable
Class that represents a group of processors that will be executed on same dewarped image.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<ProcessorGroup>
CREATOR
-
Constructor Summary
Constructors Constructor Description ProcessorGroup(Rectangle processingLocation, DewarpPolicy dewarpPolicy, Processor... processors)
Constructor for ProcessorGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeResultFrom(ProcessorGroup other)
int
describeContents()
protected void
finalize()
Processor[]
getProcessors()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
@NonNull public static final android.os.Parcelable.Creator<ProcessorGroup> CREATOR
-
-
Constructor Detail
-
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 Detail
-
consumeResultFrom
public void consumeResultFrom(@NonNull ProcessorGroup other)
-
getProcessors
@NonNull @Size(min=1L) public Processor[] getProcessors()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-