I'm trying to do some ROI (region of interest) selection in my app, but I don´t know, how to create some kind of resizable (by fingers) rectangle like you can see in Google Goggles. Can you help me? Is there any source code example?
Crop image ala Google Goggles
2.5k Views Asked by Komi At
2
There are 2 best solutions below
1

Could you reuse code from the Gallery-Cropper?
The CropImage
class source code is available here.
My final solution is to draw and rectangle in the midle of a view and implement onTouchEvent() in my activity to set new corners coordinates like this: