How can I fix bug camera in Qt5.13.1?
-
Thanks a lot
And last question
I should solve this problem, I have to write a program that works with this camera.
Do I have to be disappointed with Qt?
Do you suggest other language or editor?
Which programming language or editor do you recommend? -
jsulm Lifetime Qt Championreplied to neda on 12 Nov 2019, 09:05 last edited by jsulm 11 Dec 2019, 09:10
@neda said in How can I fix bug camera in Qt5.13.1?:
Do I have to be disappointed with Qt?
Well, it is like it is, Qt does not have support for everything.
"Do you suggest other language or editor?" - this is not related to programming language and even less to an editor.
You need to check what is available for your camera: does the manufacturer provide any SDK, client libraries, drivers, ...?
If there is a SDK/client lib for C/C++ you can use it in your Qt app as any other C/C++ lib. -
@neda if you're done with the issue please don't forget to mark your post as solved. Thanks.
-
I found this project.
https://www.codeproject.com/Articles/125478/Versatile-WebCam-C-library?msg=4123457#xx4123457xx
I tested my camera with this project.
Every thing was ok and I can changed all settings of camera.
This project use WebCamLib – it is a C++ project with just two files (WebCamLib.h and WebCamLib.cpp) that queries a WebCam using DirectShow and returns results.
I think maybe I can use this library or even WebCamLib's source in my project rather start new project with c#, because I have to run my application by this camera.
Do you think is possible?
Would you please guide me that how can I use WebCamLib's source in my project ? -
@neda said in How can I fix bug camera in Qt5.13.1?:
Do you think is possible?
It looks more like C# lib. Which exact C++ library do you mean?
-
@jsulm said in How can I fix bug camera in Qt5.13.1?:
It looks more like C# lib. Which exact C++ library do you mean?
WebCamLib - This is a C ++ project.
Is there a way on how to overwrite this project in Qt? -
@neda said in How can I fix bug camera in Qt5.13.1?:
Is there a way on how to overwrite this project in Qt?
If it is C++ you can use it as any other C++ code or library. Either add the source code to your project or build it as library and add library to your project.
-
@neda said in How can I fix bug camera in Qt5.13.1?:
I wanna adjust exposure related settings in my camera. For example I try to use function "camera.searchAndLock()" but it doesn't work.
-
What hardware are you using (i.e. webcam attached to USB, Android phone camera, Raspberry Pi camera, etc.)?
-
Are you positive that the underlying hardware allows for all those settings (i.e. focus lock, exposure, manual shutter, etc.)?
-
Have you tried that same hardware with a different (non-Qt) application?
-