public final class ProcessorGroup
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
Constructor and Description |
---|
ProcessorGroup(Rectangle processingLocation,
DewarpPolicy dewarpPolicy,
Processor[] processors)
Constructor for ProcessorGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeResultFrom(ProcessorGroup other) |
int |
describeContents() |
protected void |
finalize() |
Processor[] |
getProcessors() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public ProcessorGroup(@NonNull Rectangle processingLocation, @NonNull DewarpPolicy dewarpPolicy, @NonNull Processor[] processors)
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.public void consumeResultFrom(@NonNull ProcessorGroup other)
@NonNull public Processor[] getProcessors()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable