Ask Your Question

cv_new's profile - activity

2020-11-23 11:12:30 -0600 received badge  Notable Question (source)
2020-07-09 01:51:11 -0600 received badge  Popular Question (source)
2020-07-08 01:31:53 -0600 received badge  Popular Question (source)
2019-12-08 12:19:24 -0600 received badge  Famous Question (source)
2019-12-03 21:02:10 -0600 commented question A configuration problem of OpenCV4

@supra56 , do you know how can fix my issue? Thanks.

2019-11-22 02:35:05 -0600 received badge  Commentator
2019-11-22 02:35:05 -0600 commented question A configuration problem of OpenCV4

I ensured that the Python3 library in Cmake is using '/home/user/anaconda3/lib/libpython3.7m.so' .

2019-11-22 02:32:29 -0600 commented question A configuration problem of OpenCV4

Sorry, I was building and installing OpenCV 4.1. I think I have partially fixed my problem by upgrading my Ubuntu's Pyth

2019-11-22 02:28:11 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-22 02:27:16 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-21 03:42:07 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-21 02:20:23 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-21 01:13:13 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-20 20:39:32 -0600 commented question A configuration problem of OpenCV4

According to your instruction, I have made the upgrade, then I corrected my Cmake config, and clean the build and rebuil

2019-11-20 03:25:50 -0600 commented question A configuration problem of OpenCV4

@supra56, I installed anaconda3 and its python 3.7 and uploaded my Cmake config's pic.

2019-11-20 03:24:11 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-19 08:18:27 -0600 commented question A configuration problem of OpenCV4

I have updated the progress. Please help.

2019-11-19 08:17:58 -0600 edited question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-18 18:57:54 -0600 commented question A configuration problem of OpenCV4

I didn't change the ImportError message. The ".format(fnames))" is missing from the warning.

2019-11-18 09:56:25 -0600 received badge  Self-Learner (source)
2019-11-18 07:49:03 -0600 answered a question A problem about building OpenCV4[SOLVED]

I downloaded the required files from https://github.com/opencv/opencv_3rdparty/tree/contrib_xfeatures2d_boostdesc_201610

2019-11-18 07:43:58 -0600 asked a question A configuration problem of OpenCV4

A configuration problem of OpenCV4 I built the OpenCV4 by Cmake and installed the opecv4.0 using anaconda3 with its pyth

2019-11-18 07:02:33 -0600 commented question How to import OpenCV library in PyCharm by self-building

Sorry, I make you misunderstood. I install the opencv4 by cmake using the anaconda's python 3.7. Now, I found the proble

2019-11-17 23:52:49 -0600 commented question A installation problem of OpenCV[SOLVED]

For your reference, I finally solved it by copying the required file from the https://github.com/opencv/opencv_3rdparty/

2019-11-17 23:37:31 -0600 asked a question How to import OpenCV library in PyCharm by self-building

How to import OpenCV library in PyCharm by self-building I built the OpenCV4 by Cmake and installed the opecv4.0 using a

2019-11-17 23:33:51 -0600 commented question A installation problem of OpenCV[SOLVED]

For your reference, I finally solved it by copying the required file from the https://github.com/opencv/opencv_3rdparty/

2019-11-16 20:05:13 -0600 edited question A installation problem of OpenCV[SOLVED]

A installation problem of OpenCV I face a problem when installing OpenCV 4.0 after building OpenCV, which is stated as f

2019-11-16 09:09:32 -0600 commented question A problem about building OpenCV4[SOLVED]

Thanks @berak

2019-11-16 09:08:34 -0600 asked a question A installation problem of OpenCV[SOLVED]

A installation problem of OpenCV I face a problem when installing OpenCV 4.0 after building OpenCV, which is stated as f

2019-11-16 09:03:16 -0600 edited question A problem about building OpenCV4[SOLVED]

A problem about building OpenCV4 My verison of Cmake is 3.15.5 and my verison of curl 7.65.3. I am going to build the la

2019-11-13 10:13:20 -0600 edited question A problem about building OpenCV4[SOLVED]

A problem about building OpenCV4 My verison of Cmake is 3.15.5 and my verison of curl 7.65.3. I am going to build the la

2019-11-13 10:13:20 -0600 received badge  Associate Editor (source)
2019-11-13 10:06:56 -0600 commented question A problem about building OpenCV4[SOLVED]

Thanks @berak, I have solved the html-like problem, but I face another problem. I cannot install the opencv after buildi

2019-11-13 10:06:04 -0600 commented question A problem about building OpenCV4[SOLVED]

Thanks @berak, but I face another problem. I cannot install the opencv after building. I have updated the question at th

2019-11-13 10:03:52 -0600 edited question A problem about building OpenCV4[SOLVED]

A problem about building OpenCV4 My verison of Cmake is 3.15.5 and my verison of curl 7.65.3. I am going to build the la

2019-11-08 23:51:12 -0600 asked a question A problem about building OpenCV4[SOLVED]

A problem about building OpenCV4 My verison of Cmake is 3.15.5 and my verison of curl 7.65.3. I am going to build the la

2018-08-02 07:52:22 -0600 received badge  Notable Question (source)
2018-07-24 04:31:31 -0600 received badge  Famous Question (source)
2018-05-30 15:53:38 -0600 received badge  Famous Question (source)
2018-03-05 05:30:09 -0600 received badge  Popular Question (source)
2017-11-05 18:59:19 -0600 commented answer How to obtain a correct depth map?

Thank you. It works!!

2017-11-05 18:58:57 -0600 marked best answer How to obtain a correct depth map?

I am trying to create a depth map from stereo images, but the generated depth map is only black in color. Could you suggest what should I improve for getting a decent depth map? Thanks.

In my view, the parameters using in the constructor bpm is wrong. How to correct them?

Stereo images Stereo images.jpeg

Depth Map depthMat.jpg

#include <stdio.h>
#include <iostream>
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpu/gpu.hpp"

using namespace cv;
using namespace cv::gpu;


int main(int argc, char** argv)
{
    Mat img = imread("C:\\photo\\img0001.jpeg");
    cv::Rect leftROI(0, 0, img.cols/2, img.rows );
    cv::Rect rightROI(img.cols / 2, 0, img.cols/2, img.rows);

    Mat imgLeft = img(leftROI);
    Mat imgRight = img(rightROI);
    Mat depthMat;
    GpuMat disp_gpu, disp_gpu_depth, left_gpu, right_gpu, disp;
    int nD = 10, maxIter = 50;

    StereoBeliefPropagation bpm(nD, maxIter, 4, 25, 0.1f, 100, 1, CV_32F);

    left_gpu.upload(imgLeft);
    right_gpu.upload(imgRight);

    bpm(left_gpu, right_gpu, disp_gpu);

    disp_gpu.download(depthMat);
    imshow("windowDisparity", depthMat);
    imwrite("c:\\photo\\depthMat.jpg", depthMat);
    return 0;
}
2017-11-05 18:58:57 -0600 received badge  Scholar (source)
2017-10-31 20:54:14 -0600 asked a question How to obtain a correct depth map?

How to obtain a correct depth map? I am trying to create a depth map from stereo images, but the generated depth map is

2017-09-28 07:23:42 -0600 received badge  Notable Question (source)