@ Override public void classify ( Planar < GrayF32 > image ) { DataManipulationOps . imageToTensor ( preprocess ( image ) , tensorInput , 0 ) ; innerProcess ( tensorInput ) ; }
The original implementation takes in an image then crops it randomly . This is primarily for training but is replicated here to reduce the number of differences