Ask Your Question

chungjs's profile - activity

2017-11-04 12:43:33 -0600 received badge  Popular Question (source)
2013-10-10 05:25:20 -0600 commented answer How to detect face by portrait mode?

It's not detect face by portrait mode. only detect face by landscape mode.(Original Source :OpenCV Sample - face-detection). I want to detect face by portrait mode.

2013-10-10 02:58:31 -0600 commented answer How to detect face by portrait mode?

I'm sorry. but I need for android plaform(sample code(OpenCV Sample - face-detection). please answer again. I'm diffcult OpenCV. becasue, I'm beginner for android and OpenCV.

2013-10-09 09:15:55 -0600 commented answer How to detect face by portrait mode?

Thank you . but I have no idea. I'm Android Programming and OpenCV beginner. Please explain more easily by Example Code(OpenCV Sample - face-detection).

2013-10-09 09:12:19 -0600 commented question How to detect face by portrait mode?

not find yet

2013-10-09 09:11:27 -0600 received badge  Supporter (source)
2013-10-09 09:11:26 -0600 received badge  Scholar (source)
2013-10-08 20:49:37 -0600 asked a question How to detect face by portrait mode?

Hi, I'm studying OpenCV recently.

OpenCV for Android sample code(2.4.6) is tested.

I have some wonder.

I can detect face by sample code(OpenCV Sample - face-detection). but, can't detect face by portrait mode(vertical mode) on android device.

First, I try set Front-Camera by portrait mode.

//added code in onCameraFrame() Core.flip(mRgba, mRgba, 1);

Still do not recognize face.

How to detect face by portrait mode?

Thank you.

2013-09-29 08:39:43 -0600 asked a question How to set image(jpg or png) on camera?

Dear everyone.

I'm OpenCV and Android beginner.

I followed Roman Hošek's Tutorial.

Roman Hošek's Tutorial http://romanhosek.cz/android-eye-detection-updated-for-opencv-2-4-6/

I concerned about how to move image.

when detected eye or face, I want draw image(png or jpg) instead of rectangle or circle on camera.

I very worried about how to do it.

2013-09-03 04:00:58 -0600 received badge  Editor (source)
2013-09-03 04:00:09 -0600 asked a question How to show image on the camera

Hello

I'm finding how to set up image(jpg or png) on cameraview(onCameraFrame). I am a newbie to opencv programming on Android. My purpose is simply to show images on the camera. so, find out "Utils.loadResource" and "cvLoadImage". but, I do not know how to use.

1 . Utils.loadResource in public Mat onCameraFrame() function was coded as follows:

ImageView imgView = (ImageView) findViewById(R.id.imageView1);
Mat images = new Mat();
try {
    images = Utils.loadResource(FdActivity.this, R.drawable.bg1, Highgui.CV_LOAD_IMAGE_COLOR);
    Bitmap img = Bitmap.createBitmap(images.cols(), images.rows(),Bitmap.Config.ARGB_8888);
    Utils.matToBitmap(images, img);
    imgView.setImageBitmap(img);
} catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
}

but, An error has occurred from the second line "Mat images = new Mat();"

2 . I have no idea how to use "cvLoadImage" at all.

Please reply details.