Package com.pocolifo.robobase.vision
Class ColorTellerYCbCr
java.lang.Object
org.openftc.easyopencv.OpenCvPipeline
com.pocolifo.robobase.vision.AbstractResultCvPipeline<ColorTellerYCbCr.ycbcrResult>
com.pocolifo.robobase.vision.ColorTellerYCbCr
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.pocolifo.robobase.vision.AbstractResultCvPipeline
resultFields inherited from class org.openftc.easyopencv.OpenCvPipeline
MEMLEAK_DETECTION_ENABLED, MEMLEAK_DETECTION_PIPELINE_SETTLE_DELAY_SECONDS, MEMLEAK_THRESHOLD_MB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the current result of the pipeline.voidinit()Runs when the pipeline is first set.voidinit(org.opencv.core.Mat firstFrame) org.opencv.core.MatprocessFrame(org.opencv.core.Mat input) Methods inherited from class org.openftc.easyopencv.OpenCvPipeline
getUserContextForDrawHook, onDrawFrame, onViewportTapped, requestViewportDrawHook, saveMatToDisk, saveMatToDiskFullPath
-
Constructor Details
-
ColorTellerYCbCr
public ColorTellerYCbCr()
-
-
Method Details
-
init
public void init(org.opencv.core.Mat firstFrame) - Overrides:
initin classorg.openftc.easyopencv.OpenCvPipeline
-
processFrame
public org.opencv.core.Mat processFrame(org.opencv.core.Mat input) - Specified by:
processFramein classorg.openftc.easyopencv.OpenCvPipeline
-
getResult
Description copied from class:AbstractResultCvPipelineGet the current result of the pipeline.- Overrides:
getResultin classAbstractResultCvPipeline<ColorTellerYCbCr.ycbcrResult>- Returns:
- The result of the pipeline.
-
init
public void init()Description copied from class:AbstractResultCvPipelineRuns when the pipeline is first set.- Specified by:
initin classAbstractResultCvPipeline<ColorTellerYCbCr.ycbcrResult>
-