This repository was archived by the owner on Oct 27, 2022. It is now read-only.
  
  
  
  
  
Description
    int heig = bitmap.getHeight();
    int wid = bitmap.getWidth();
    Bitmap scaledBitmap =scaleBitmap(bitmap,wid,heig);
    intValues=new int[heig * wid];
    floatValues = new float[heig * wid * 3];
    scaledBitmap.getPixels(intValues, 0, scaledBitmap.getWidth(), 0, 0,
            scaledBitmap.getWidth(), scaledBitmap.getHeight());`
 
I change there
inferenceInterface.feed(INPUT_NODE, floatValues, heig, wid, 3);
but it does't work