I built .so for c++ used in android.I want to get camera preview image and send it to my so interface to implement my algorithm. Question comes when I get the image whose format is yuv and its send a struct including width height,*data to my interface. How can I convert image format to opencv cv::Mat in my .so to overcome this problem. Any reply will be appreciated.
Aucun commentaire:
Enregistrer un commentaire