Ask Your Question

Aj-611's profile - activity

2019-02-03 13:14:35 -0500 received badge  Popular Question (source)
2016-04-16 09:30:31 -0500 commented answer MSB6006 Error when building OpenCV from source in VS2015

Traceback (most recent call last): File "C:\OPENCV30\opencv_contrib-master\modules\matlab\generator\gen_matlab.py", line 204, in <module> mwg.gen(args.moduleroot, args.modules, args.extra, args.outdir) File "C:\OPENCV30\opencv_contrib-master\modules\matlab\generator\gen_matlab.py", line 32, in gen import rst_parser ImportError: No module named rst_parser CMake does not need to re-run because C:\OPENCV30\cvmatlab1\modules\matlab\CMakeFiles\generate.stamp is up-to-date. Generating Matlab source files C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.

I got this error while try to connect with matlab 2015a

2016-04-15 10:32:06 -0500 asked a question how to use opencv3.1 with matlab 2015a

how can I connect opencv with matlab?

2016-04-14 22:34:12 -0500 commented question error C1083 cannot open eigen/core

opencv2.1 to opencv3.1

2016-04-14 10:51:21 -0500 commented question error C1083 cannot open eigen/core

I just need something that can help me convert the old version to the new one.

2016-04-14 09:38:58 -0500 commented question error C1083 cannot open eigen/core

BTW any guide to recompile this code? Any tutorial, or something to read so I can rebuild it?

2016-04-12 23:00:56 -0500 commented question error C1083 cannot open eigen/core

ya.. it seems like I have to rebuild the code. Because there is another error occur. can you take a look here http://answers.opencv.org/question/92594/error-c2665-regarding-imshow/ @berak

2016-04-12 22:56:58 -0500 asked a question error c2665 regarding imshow

Here I provide the output of build:

error C2665: 'cv::imshow' : none of the 2 overloads could convert all the argument types
1>          c:\opencv30\opencv310\opencv\build\include\opencv2\highgui.hpp(552): could be 'void cv::imshow(const cv::String &,const cv::ogl::Texture2D &)'
1>          c:\opencv30\opencv310\opencv\build\include\opencv2\highgui.hpp(372): or       'void cv::imshow(const cv::String &,cv::InputArray)'
1>          while trying to match the argument list '(const char *, IplImage *)'

It looks like the problem come from this code:

IplImage* frameShow = new IplImage(frameShowWin);
//others code
imshow(name, frameShow);

And I'm not sure what the first row code do. From my knowledge, IplImage is c language of older version (2.1 etc.). Since I'm compiling this code on MVS 2013 & using OpenCV 3.1.0, probably some code is not converted.

2016-04-12 08:02:12 -0500 asked a question error C1083 cannot open eigen/core

I download a source code from internet. There is no instruction on developing this code except that it said it uses Microsoft visual studio and opencv 2.1. Then I found in the additional include file consist of file from Eigen 2.0.17. So I install it and include it in the project. However there are errors as stated above. How should I use this Eigen thing in this project?

2016-03-10 08:58:17 -0500 answered a question unhandled exception when reading sequence using videocapture()

I just found the solution since I found the error is develop at imshow();. So, to avoid this error I include the code as follow:

if (!frame.empty())
{
cv::imshow("image", frame);
}

I'm not sure why, btw. If someone can explain this.

2016-03-09 23:10:14 -0500 asked a question unhandled exception when reading sequence using videocapture()

I test my code with .png format it run as I wish. But when I run with .jpg, the program break. My jpg images have 24-bit depth, while my png images are 16-bit depth. I guess this is related to the problem. Any solution?

2016-02-18 20:10:04 -0500 commented question Problems while running tests after compiling opencv 3.1

the test is actually for what purpose? (sorry for being curious)

2016-02-18 20:04:14 -0500 commented question DLL and Lib files not being generated

Maybe you can try to watch this video

2016-02-17 20:25:38 -0500 commented question How to refine foreground image?

thanks @Tetragramm. @berak what is the reason of applying Gaussian blur in this case?

2016-02-16 21:24:21 -0500 commented question How to refine foreground image?

@Tetragramm thank you for noticing the ring anyway. Can't I get smooth foreground btw? Where there is no black pixel on the foreground?

2016-02-16 20:02:29 -0500 commented question How to refine foreground image?

@Tetragramm suppose the original is RGB. only the background is in black, but the foreground should be in color as original as captured by camera.

2016-02-16 02:55:27 -0500 commented question Help with the basics

Maybe you can watch this video first: opencv-python. Then you can try to understand this tutorial

2016-02-16 02:05:05 -0500 commented question How to set transparent background to grabcut output image in OpenCV (C++)?

@nena can you share me the code for background subtraction which produce the output for the first image?

2016-02-15 21:58:47 -0500 commented question What is the reason of "Application Error"?

thanks @LBerger for your effort. I'd tried the suggested solution but it leads me to more question. Anyway, I 'solve' it by using the tutorial provided inside the samples folder in opencv. To conclude it, I think there is some setting mistakes I'd made previously, like the additional directory so on.

2016-02-15 21:56:01 -0500 asked a question How to refine foreground image?

I work with background subtraction using MOG2 method & obtained as the foreground image below:

image description

As shows above, I fail to get exact pixel as the original frame. What should I do?

2016-02-15 00:53:57 -0500 commented answer background detection tutorial: error using MOG pointers

@VladislavVinogradov Is it true some version of OpenCV doesn't have MOG? I'm using version 3.0.0 rc1. When I check background_segm.hpp, there is only for MOG2 & KNN method.

2016-02-14 19:56:19 -0500 commented question What is the reason of "Application Error"?

@LBerger I've updated with the picture. & This is the Debug output: The thread 0x25fc has exited with code -1073741701 (0xc000007b). The thread 0xd38 has exited with code -1073741701 (0xc000007b). The thread 0x1274 has exited with code -1073741701 (0xc000007b). The program '[3300] backgroundsubtraction.exe' has exited with code -1073741701 (0xc000007b).

2016-02-14 03:05:40 -0500 asked a question What is the reason of "Application Error"?

I try to run tutorial for Background subtraction. But the output said "The application can't start correctly ...." I try many solution proposed in here and others website. How can I solve this problem. Output ERROR as follow: image description

2016-01-31 21:02:09 -0500 commented question error LNK1181 opencv_calib3d300d.lib

@deltamaster what is static library folder? where is it?

2016-01-31 20:53:03 -0500 commented question LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_core290.lib'

which mean CMake doesn't generate opencv_core? @berak @ran294

2016-01-30 21:15:43 -0500 commented question what background substraction method is suitable for near infrared imaging?

pattern-based method can be applied in NIR imaging? @kbarni ?

2016-01-28 10:27:17 -0500 asked a question what background substraction method is suitable for near infrared imaging?

Is there any different between the methods for color image?

2016-01-27 21:10:37 -0500 commented answer How to accelerate face detection time using HaarCascade

@StevenPuttemans do you have any idea, what face detection method for video-based application is suitable for real-time purpose? By reducing image size will not help in many applications which require details.

2016-01-26 22:03:51 -0500 commented answer Facial feature detection

@jayrambhia is it real-time? how fast it is?

2016-01-26 22:02:42 -0500 commented answer Facial feature detection

the method can perform real-time @lightalchemist ?

2015-12-16 02:54:06 -0500 asked a question Will decreasing the video dimension will reduce the resolution?

In order to speed up face detection process, some will reduce the video or image dimension. Will it makes the resolution become worst and effect the face recognition process?

2015-11-11 04:15:54 -0500 received badge  Necromancer (source)
2015-11-10 22:43:07 -0500 answered a question How to use with NI-IMAQ c++?

Some conversion is require from raw data in the buffer into opencv Mat type. It is crucial to know the data type in buffer (CV_datatype). refer here (http://answers.opencv.org/question/71401/mat-from-buffer/)

2015-11-10 22:28:36 -0500 received badge  Supporter (source)
2015-11-10 22:28:32 -0500 commented answer Display webcam input in window

@pklab , I'd solved the problem. There is a header file that I should include in the coding. Thank you very much. But can I ask about the <atomic> ? Actually in my pc I'm running with Visual Studio version 2008 because I'm using some library that only work with old version of Visual Studio. So this old version does not provide this new class. So is there any others solution for that?

2015-11-10 00:37:47 -0500 commented answer Display webcam input in window

@pklab. Ya I'd tried. And there is no error.

But there are some outputs like this:

'ConsoleApplication2.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.

And end up with this output when I click 'Grab':

The thread 0x1f24 has exited with code 0 (0x0).
The thread 0x20c0 has exited with code 0 (0x0).
The thread 0xf7c has exited with code 0 (0x0).
The program '[10004] ConsoleApplication2.exe' has exited with code 0 (0x0).
2015-11-09 08:03:09 -0500 commented answer Display webcam input in window

Thanks @pklab . But when I click 'Grab' button, the program exited. I wonder if this thing just happen to my machine or what.