Hi Rahul,
you can also install pytorch directly on Android using Termux/Archlinux
then take picture with Termux-API [termux-camera-photo]
The performance is enough for testings https://youtu.be/ox9TxZhmJ30 169
I started this github to describe how to do it.

  
      
      GitHub
  
  
    

smscryptor/pytorch-on-android 223

setup pytorch on android. Contribute to smscryptor/pytorch-on-android development by creating an account on GitHub.


  
  
    
    
  
  


Regards