question: public ObjectAnalysis analyzeObject ( Mat object ) throws IllegalArgumentException { Mat descriptors = new Mat ( ) ; MatOfKeyPoint keypoints = new MatOfKeyPoint ( ) ; Log . d ( "FTCVision" , "Analyzing object..." ) ; if ( object == null || object . empty ( ) ) { throw new IllegalArgumentException ( "Object image cannot be empty!" ) ; } detector . detect ( object , keypoints ) ; extractor . compute ( object , keypoints , descriptors ) ; return new ObjectAnalysis ( keypoints , descriptors , object ) ; }
target:  Analyzes an object in preparation to search for the object in a frame. <p/> This method should be called in an initialize() method. Calling the analyzeObject method twice will overwrite the previous objectAnalysis. <p/> It is recommended to use a GFTT (Good Features To Track) detector for this phase.