Ask Your Question

Tharyn's profile - activity

2016-09-29 16:00:52 -0600 received badge  Notable Question (source)
2015-09-27 14:22:48 -0600 received badge  Taxonomist
2015-08-12 13:15:19 -0600 received badge  Popular Question (source)
2012-10-03 18:06:55 -0600 asked a question Update namedWindow

I've got the camera capturing working, but the namedWindow does not update, unless I close it then it creates a new window with the next image.

How can I tell the window to update while open from the camera?

I'm using: imshow("Camera", frame); Within a for loop.

I looked at the documentation and it is the same thing with that code too.

Thanks

2012-10-01 13:00:18 -0600 asked a question error LNK2019 from C++ tutorial

I'm attempting to run through the tutorial here: http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

Everything looks correct in my solution setup, but I'm getting many 'error LNK2019's here are the first two:

1>testSetup.obj : error LNK2019: unresolved external symbol _cvWaitKey referenced in function _main 1>testSetup.obj : error LNK2019: unresolved external symbol "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,class cv::_InputArray const &)" (?imshow@cv@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV_InputArray@1@@Z) referenced in function _main

In an attempt to resolve this I added all of the .lib files to the input of the linker to no resolve.


SOLVED

I'm on win7 x64. The default of a win32 console program is x86. Changed the project settings to x64 resolved the linking issues.

Cheers.

2012-10-01 11:15:34 -0600 commented answer Where is the installer(not source) or lib files?

Thank you! And for others new to OpenCV...

The download of the source and the pre-built libraries look very similar, so it can be confusing, because there is a include folder in the root and no lib dir in the source.

The pre-built files are located in the 'build' directory in the root. If you don't have the 'build' directory in your install then you have the source.

So the pre-build install is the .exe, and the source is available via Git.

Hope this will help other newbies :)

2012-10-01 11:09:50 -0600 received badge  Supporter (source)
2012-10-01 00:38:59 -0600 received badge  Student (source)
2012-09-30 20:47:47 -0600 received badge  Editor (source)
2012-09-30 20:41:16 -0600 asked a question Where is the installer(not source) or lib files?

I'm using Win7, x64, VS2008 or VS2010

I'd like to use the existing libraries for some testing, however it seems that after the switch to Git, that I can only find the source.

I have tried to compile them via the tutorial, but that seems to be a bit dated.

I would really appreciate being pointed in the right direction.

Thanks, Tharyn