We have been updating the Object detection example the past month. It seems that we have to use 2 different getTransformationMatrix methods one for Task Library and one for Interpreter.  Or we have to find an abstract class for drawing the boxes like:
  

      stackoverflow.com
  

  
      
    
  


  How to draw a rectangle on the screen using coordinates with texture view? 2



  android, kotlin, textureview



  
  answered by
  
    Farmaker
  
  on 02:01PM - 14 Jun 20 UTC


  

  
    
    
  

  


Now it is up to you to change the method mentioned above as the models work fine and the problem is afterwards when you want to render results on sreen.
If you have the project online please paste the link to review the problem.
Thanks