Ask Your Question

Beerus God's profile - activity

2017-04-08 05:48:20 -0500 asked a question opencv requirement system on osx, windows, android, linux, etc

Do you know opencv requirement on osx, windwos, android, linux, etc ?

2017-03-29 12:10:08 -0500 commented answer How to face detection and count face from file bitmap imagesView in android ?

do you have sample for detection face from image gallery if i add image gallery then automatic detection face in imageView android use openCV ? if you have sample please share la expert :)

2017-03-29 11:15:05 -0500 commented answer How to face detection and count face from file bitmap imagesView in android ?

well how to convert to bitmap

Mat image = Imgcodecs.imread(ImagesTrack.class.getResource("").getPath());
2017-03-29 10:58:28 -0500 asked a question How to face detection and count face from file bitmap imagesView in android ?

How to detect face and count face use CascadeClassifier Method from Bitmap file.

Thanks for your expert :) and sharing.

private void onSelectFromGalleryResult(Intent data) {
Bitmap bitmap;
ImageView imgView;
        try {
            if (data != null) {

                bitmap = MediaStore.Images.Media.getBitmap(getApplicationContext().getContentResolver(), data.getData());
                imgView.setImageBitmap(bitmap);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }