Canvas Height & Width Problem
My Problem is I am Using Face Detector Example from Following Link but How开发者_运维百科 To Find Square Height & Width and Replace Image on Square Same as Square Height & Width.Sorry for Bad English Communication.
http://downloads.ziddu.com/downloadfile/9930500/AndroidFaceDetector_files_100520a.zip.html
Please Help Me.
Get the height and width from canvas.getHeight,canvas.getWidth respectively and then make a new bitmap with same size and set it to the canvas. Hope this'll help you.
精彩评论