Adding Flash to the Camera example
-
wrote on 27 Jun 2019, 05:49 last edited by
I am using Qt creator 4.8.2, on Debian buster.
I want to add flash to the existing camera example. Is there any method to add it ? If there is, how to do it ?
-
wrote on 27 Jun 2019, 08:54 last edited by
When you say that you want to add flash .... what are you referring to??
-
Do you want to make screen flashing?? (screen going completely white)
-
Do you have an external flash device that you want to control??
How is this flash connected?? what protocol does it use? is a device based on a microcontroller that you have access to reprogram??
-
-
wrote on 27 Jun 2019, 13:46 last edited by
I have camera with flash. So i would like to turn on the flash while capturing an image or recording a video.
It is i2c based
I found "QCameraExposure::FlashOn 0x4 Flash is On." in the docs but how do you use it?
How to add it to the Qt camera example is my question. -
I have camera with flash. So i would like to turn on the flash while capturing an image or recording a video.
It is i2c based
I found "QCameraExposure::FlashOn 0x4 Flash is On." in the docs but how do you use it?
How to add it to the Qt camera example is my question.wrote on 27 Jun 2019, 16:55 last edited by@tech.hi
what camera you have (make and model)
you have to know the flash_on bit and to turn it on via i2c
you will need an i2c lib that is able to access the camera -via - how do you connect the camera to your device??
give more detail about the hardware that you are using and about your OS -
I have camera with flash. So i would like to turn on the flash while capturing an image or recording a video.
It is i2c based
I found "QCameraExposure::FlashOn 0x4 Flash is On." in the docs but how do you use it?
How to add it to the Qt camera example is my question.@tech.hi said in Adding Flash to the Camera example:
How to add it to the Qt camera example is my question.
Use https://doc.qt.io/qt-5/qcamera.html#exposure to get the exposure object and set that flag on it https://doc.qt.io/qt-5/qcameraexposure.html#flashMode-prop
5/5