Android OpenCV move ROI according to phone movement

Viewed 10

I draw a Region Of Interest as an Imgproc.rectangle() based on image from camera and now I want this region to move up, down, left, right according to phone movement. How to achieve that?

I was trying code from this project https://github.com/przemyslawstudzinski/object-tracking-app, but it is not what I expect

0 Answers
Related