Ask Your Question

wade wang's profile - activity

2019-11-01 22:39:12 -0500 commented question How to create a new thread for object detection task?

Yes, this is mainly a programming stuff (in fact, my major is automotive engineering...). I feel that it is not practica

2019-10-31 18:59:43 -0500 edited question How to create a new thread for object detection task?

How to create a new thread for object detection task? I deploy a DNN in my android app, but the FPS is just 4 that makes

2019-10-31 18:57:16 -0500 commented question How to create a new thread for object detection task?

Yes, you are right. Above code will start a new thread for every frame, actually that was not what I want. That was a mi

2019-10-31 18:56:51 -0500 commented question How to create a new thread for object detection task?

Yes, you are right. Above code will start a new thread for every frame, actually that was not what I want. That was a mi

2019-10-31 12:08:46 -0500 received badge  Self-Learner (source)
2019-10-31 11:44:41 -0500 edited question How to create a new thread for object detection task?

How to create a new thread for object detection task? I deploy a DNN in my android app, but the FPS is just 4 that makes

2019-10-31 11:23:21 -0500 asked a question How to create a new thread for object detection task?

How to create a new thread for object detection task? I deploy a DNN in my android app, but the FPS is just 4 that makes

2019-10-31 11:07:09 -0500 answered a question Why my App crashes when i applied Imgproc.resize

Add cameraBridgeViewBase.setMaxFrameSize(1280, 720); in protected void onCreate(Bundle savedInstanceState) {} is fine

2019-10-26 11:36:40 -0500 commented answer can't find class org.opencv.tracking.TrackerCSRT

How to build opencv_contrb ? I'm noob...

2019-10-21 10:37:32 -0500 received badge  Supporter (source)
2019-10-20 07:55:30 -0500 commented answer How to set camera resolution in OpenCV on Android?

Hi, Rui Marques, I think your answer may be related to my question(https://answers.opencv.org/question/220053/why-my-app

2019-10-20 07:08:37 -0500 commented question Why my App crashes when i applied Imgproc.resize

Sir, when I was about to give up resize, the miracle appeared. I ran the App without resize on the phone again. The prev

2019-10-20 04:16:44 -0500 commented question Why my App crashes when i applied Imgproc.resize

I don't quite understand, you mean i can't use Imgproc.resize in public Mat onCameraFrame( ) ? But if i use Imgproc.cvtC

2019-10-20 03:56:24 -0500 commented question Why my App crashes when i applied Imgproc.resize

Thanks, berak ! I have move the ”Mat dst = new Mat();“ to outside, and delete "frame.release();". But in this way,i got

2019-10-20 03:36:37 -0500 asked a question Why my App crashes when i applied Imgproc.resize

Why my App crashes when i applied Imgproc.resize As the illustration shows, now i have the 'original' frame, not fill fu

2019-10-15 09:47:45 -0500 received badge  Necromancer (source)
2019-10-13 01:22:45 -0500 received badge  Enthusiast
2019-10-12 20:34:23 -0500 commented answer Is it possible to use front camera with 2.4.2 for android?

my opencv version is 3.4.7

2019-10-12 20:33:54 -0500 answered a question Is it possible to use front camera with 2.4.2 for android?

In my case, i just add cameraBridgeViewBase.setCameraIndex(1);in the protected void onCreate(Bundle savedInstanceState)

2019-10-12 20:33:18 -0500 answered a question How I use front camera with new OpenCV 2.4.3 for android?

In my case, i just add cameraBridgeViewBase.setCameraIndex(1);in the protected void onCreate(Bundle savedInstanceState)

2019-10-08 06:09:44 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

Sir, your suggestion really works ! Now you can post your last comment as answer, and i will select it as correct ! Haha

2019-10-08 04:17:39 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

Ok, i 'll try it when i get home, i feel you are right and i can make it this time, thanks ! Guru !

2019-10-08 02:31:11 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

Yes, previously i write "return fgMask", i thought the screen could just show the fgMask in the ROI region, but it will

2019-10-08 01:46:17 -0500 edited question How to do backgroundsub in the ROI of camera in android studio

How to do backgroundsub in the ROI of camera in android studio I am going to do a backgroundsubtractor in a ROI area on

2019-10-07 23:33:42 -0500 edited question How to do backgroundsub in the ROI of camera in android studio

problem with opencv.core.mat in android studio I am going to do a backgroundsubtractor in a ROI area on my phone's camer

2019-10-07 22:47:33 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

I am sorry for that, last night i closed the first question is because i change the code afterwards, the error disappear

2019-10-07 19:53:29 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

I am sorry for that, last night i closed the first question is because i change the code afterwards, the error disappear

2019-10-07 19:12:40 -0500 edited question How to do backgroundsub in the ROI of camera in android studio

problem with opencv.core.mat in android studio I am going to do a backgroundsubtractor in a ROI area on my phone's camer

2019-10-07 19:11:18 -0500 edited question How to do backgroundsub in the ROI of camera in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area on my phone's camera

2019-10-07 19:02:41 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

I am sorry for that, last night i closed the first question is because i change the code afterwards, the error disappear

2019-10-07 19:00:16 -0500 received badge  Organizer (source)
2019-10-07 18:58:23 -0500 edited question How to do backgroundsub in the ROI of camera in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area on my phone's camera

2019-10-07 18:57:44 -0500 commented question How to do backgroundsub in the ROI of camera in android studio

I am sorry for that, last night i closed the first question is because i change the code afterwards, the error disappear

2019-10-07 11:57:02 -0500 asked a question How to do backgroundsub in the ROI of camera in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area on my phone's camera

2019-10-07 11:54:18 -0500 commented question problem with opencv.Imgproc in android studio

haha, meet you here again !

2019-10-07 11:51:41 -0500 received badge  Editor (source)
2019-10-07 11:51:41 -0500 edited question problem with opencv.Imgproc in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area, here is part of the

2019-10-07 11:26:17 -0500 asked a question problem with opencv.Imgproc in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area, here is part of the

2019-10-07 11:26:17 -0500 asked a question problem with opencv.Imgproc in android studio

problem with opencv.Imgproc in android studio I am going to do a backgroundsubtractor in a ROI area, here is part of the

2019-10-06 03:43:40 -0500 marked best answer Problem with Background Subtraction KNN in android studio

I am trying to do background subtraction using android phone camera with android studio. I installed OpenCV4Android 3.4.7 and try to use Backgorund Subtraction KNN. I give the camera permission in manifests and can launch the camera correctly. However, I only got white(or blank) screen after run this App on my mobilephone. Here is my part of code:

import org.opencv.video.BackgroundSubtractorKNN;
@Override
    public Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame) {
        Mat frame = inputFrame.rgba();
        Mat fgMask = new Mat();
        BackgroundSubtractorKNN backSub = Video.createBackgroundSubtractorKNN();
        Imgproc.cvtColor(frame, frame, Imgproc.COLOR_RGBA2GRAY);
        backSub.apply(frame, fgMask,-1);
        return fgMask;}

Anyone can help me ? Many thanks !

2019-10-06 03:43:40 -0500 received badge  Scholar (source)
2019-10-06 03:41:44 -0500 commented answer Problem with Background Subtraction KNN in android studio

Wow, you are my saviour !I modified the code according to what you said, it really works now ! You are so nice and so aw

2019-10-06 01:00:48 -0500 asked a question Problem with Background Subtraction KNN in android studio

Problem with Background Subtraction KNN in android studio I am trying to do background subtraction using android phone c

2019-10-06 01:00:47 -0500 asked a question Problem with Background Subtraction KNN in android studio

Problem with Background Subtraction KNN in android studio I am trying to do background subtraction using android phone c

2019-10-06 01:00:46 -0500 asked a question Problem with Background Subtraction KNN in android studio

Problem with Background Subtraction KNN in android studio I am trying to do background subtraction using android phone c