Ask Your Question

sjhalayka's profile - activity

2019-08-07 12:18:05 -0500 commented question How to get the degree of a vector?

Do you understand the concept of slope and angle, and how tan converts an angle into a slope, and atan converts a slope

2019-08-07 12:17:44 -0500 commented question How to get the degree of a vector?

Do you understand the concept of slope and angle, and how tan converts an angle into a slope, and tan converts a slope i

2019-07-24 20:57:06 -0500 commented question How to get all the local "peaks" from the picture?

They are called local maxima.

2019-07-24 20:19:12 -0500 commented question How to get all the local "peaks" from the picture?

They are local maxima.

2019-07-23 14:51:42 -0500 commented question 4K VideoCapture very slow on Windows compared to MS Camera App

Please post your C++ code.

2019-07-23 14:50:40 -0500 commented question 4K VideoCapture very slow on Windows compared to MS Camera App

And how does the C++ version of your code run?

2019-07-20 21:16:18 -0500 commented question Inconsistent Disparity Map Coloration Between Frames.

Disparity maps are not necessarily the best thing next to depth maps.

2019-07-20 21:15:51 -0500 commented question Inconsistent Disparity Map Coloration Between Frames.

Disparity maps are not necessarily the best thing next to depth maps; disparity maps suck.

2019-07-11 13:46:29 -0500 commented answer Timestamp as filename of a recorded video

@sonicmaster -- you're welcome. The ostringstream is a mighty weapon.

2019-07-08 00:02:16 -0500 commented answer Timestamp as filename of a recorded video

Thanks for the upvote, etc. ostringstream is your best friend. :)

2019-07-07 16:22:55 -0500 commented question Hi, Does anyone know how can I capture frames of a video in cpp, using opencv without memory leakage problem?

Please show your code.

2019-07-06 19:54:34 -0500 answered a question Timestamp as filename of a recorded video

The following code will give you something close to what you want. If you like the solution that I provided, please mark

2019-06-14 20:42:39 -0500 commented question why my saved video cannot play?

What if you rename it from out to something else, like vid_out?

2019-06-06 10:49:38 -0500 commented answer vec3b has more than 3 elements?

Yes, only then is it safe. Best of luck to you. And, remember that there are also 1-channel and 4-channel images.

2019-06-06 10:49:20 -0500 commented answer vec3b has more than 3 elements?

Yes, only then is it safe. Best of luck to you.

2019-06-06 10:02:52 -0500 commented answer vec3b has more than 3 elements?

Yes, only then is it safe. Best of luck to you.

2019-06-06 10:00:45 -0500 commented answer vec3b has more than 3 elements?

Yes, it's safe. Best of luck to you.

2019-06-05 11:32:48 -0500 edited answer vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or image.at<vec3b>(x,y)[3] == image.at<v

2019-06-05 11:31:50 -0500 edited answer vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or image.at<vec3b>(x,y)[3] == image.at<v

2019-06-05 11:29:17 -0500 edited answer vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or something like that? In any case, why would y

2019-06-05 11:23:23 -0500 edited answer vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or something like that? In any case, why would y

2019-06-05 11:22:40 -0500 edited answer vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or something like that? In any case, why would y

2019-06-05 11:21:01 -0500 answered a question vec3b has more than 3 elements?

Does image.at<vec3b>(x,y)[3] == image.at<vec3b>(x+1,y)[0], or something like that? In any case, why would y

2019-05-31 10:33:56 -0500 commented question Do different png compression rates result in different images?

I don't think it's something to be concerned about: PNG compression is lossless.

2019-05-25 22:57:06 -0500 received badge  Self-Learner (source)
2019-05-13 21:34:03 -0500 commented question Finding subpixel position of fiducial shapes (Plus, Dot, Square)

Please include some (a lot) of sample images. GitHub or Google Drive can store the images for you.

2019-05-13 21:28:59 -0500 commented question Finding subpixel position of fiducial shapes (Plus, Dot, Square)

Please include some (a lot) of sample images.

2019-05-09 19:54:53 -0500 commented answer VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV

That's **ed up. Can you please put the model number of your camera in the original question?

2019-05-09 19:34:10 -0500 commented answer VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV

That's **ed up.

2019-05-09 10:13:35 -0500 received badge  Nice Answer (source)
2019-05-04 19:35:48 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Below is a sample image. The image is followed by some C++ code. If you find that my answer is correct, then please upvo

2019-05-04 19:34:47 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Below is a sample image. The image is followed by some C++ code. If you find that my answer is correct, then please upvo

2019-05-04 19:21:25 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Below is a sample image. The image is followed by some C++ code. If you find that my answer is correct, then please upvo

2019-05-04 19:18:30 -0500 commented answer How to access pixels by using pointer in OpenCV C++?

@hua -- I edited my answer and put in a simpler code. It's as simple as it gets. Good luck. If you find that this helps,

2019-05-04 19:15:02 -0500 commented answer How to access pixels by using pointer in OpenCV C++?

@hua -- I edited my answer and put in a simpler code. It's as simple as it gets. Good luck.

2019-05-04 19:14:24 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Below is a sample image. The image is followed by some C++ code. If you find that my answer is correct, then please upvo

2019-05-04 18:29:45 -0500 commented answer How to access pixels by using pointer in OpenCV C++?

@hua -- Read a book on C++ and come back later. What we are doing here is treating the data pointer as a single-dimensio

2019-05-04 18:13:13 -0500 commented answer How to access pixels by using pointer in OpenCV C++?

@hua -- Read a book on C++ and come back later.

2019-05-02 12:39:45 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Below is a sample image. The image is followed by some C++ code. If you find that my answer is correct, then please upvo

2019-05-02 12:37:19 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Here is a sample image, and some C++ code to go along with it: #include <opencv2/opencv.hpp> using namespace cv

2019-05-02 12:36:36 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Here is a sample image, and some C++ code to go along with it: #include <opencv2/opencv.hpp> using namespace cv

2019-05-02 12:35:58 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Here is a sample image, and some C++ code to go along with it: #include <opencv2/opencv.hpp> using namespace cv

2019-05-02 12:35:17 -0500 edited answer How to access pixels by using pointer in OpenCV C++?

Here is a sample image, and some C++ code to go along with it: #include <opencv2/opencv.hpp> using namespace cv

2019-05-02 12:28:09 -0500 answered a question How to access pixels by using pointer in OpenCV C++?

Here is a sample image, and C++ code along with it: #include <opencv2/opencv.hpp> using namespace cv; #pragma c

2019-04-30 11:07:41 -0500 commented question Cross-covariance of 2 sample sets.

I found this as well: https://www.mathworks.com/help/matlab/ref/cov.html Go to the section More About > Covariance.

2019-04-29 19:46:48 -0500 commented question Cross-covariance of 2 sample sets.

Did you miss https://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html Or are you using C++?

2019-04-29 19:33:56 -0500 commented question Cross-covariance of 2 sample sets.

Did you miss https://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html

2019-04-24 20:56:08 -0500 commented question Is there any way to thin out the characters after Otsu thresholding?

You can skeletonize the image, to thin it out: http://felix.abecassis.me/2011/09/opencv-morphological-skeleton/

2019-04-22 10:27:12 -0500 commented question python 10054 Connection broken

That's a network socket error... nothing to do with OpenCV.

2019-03-26 10:46:08 -0500 commented question Read QR code and mark it as green if found in excel file

Have you considered using VBScript to control Excel?