Android Rectangle Area Detection -


i wondering if possible in android framework detect rectangle regions within image or not ?

enter image description here

dimensions rectangle regions in whole single image not fixed.what want detect regions crop them , display them separately

you can drawing rectangle of view this:

rect rect = new rect(); mview.getdrawingrect(rect); 

this give rectangle containing coordinates of on screen view drawn.

to left , top coordinates of view on screen:

float viewleftxcoord = rect.left;  float viewtopxcoord = rect.top;  

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -