[HOW-TO] Camera Flash
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- embedded-iot
Research direction
The issue names no repository files or tests; start by reviewing the linked issues, forum discussions, and the picamera flash recipe. Define whether the expected outcome is usage guidance, examples, or implementation support, and document a practical flash workflow only after the scope is agreed.
Written by the indexing model from the issue text.
Description
Describe what it is that you want to accomplish
Hey, I want to build a mobile camera.
After allowing per tuning file cranking up the range for AnalogueGain to 16 for the imx708 the shutter speed got on the faster side. It helps to achieve sharp images if hand held.
But if it is getting darker or indoors, a flash could be useful to get decent lit sharp captures.
I think about a LED or a speedlite to add to the camera.
- For speedlite, it might be hard to get the right timing and it's unclear to me how to deal with the AGC algorithms when there is just a speedlite exposing one frame instead of a more permanent light.
- For LED the light usually cannot be as bright as with the speedlite, but I think it would be OK to tinker around with it in the beginning.
My questions:
- Which is the current status in libcamera/picamera2 to use a flash? Are there any examples/best practice since it is not part of libcamera itself (yet)? Best I could find so far is maybe use this implementation to control the actual flash? https://forums.raspberrypi.com/viewtopic.php?t=368437. Adding
dtparam=cam1_sync=24to config.txt seems to have no effect on RPI5. - Specifically how to implement something like light metering for example based on 1 test frame illuminated vs 1 frame not illuminated to adjust the camera algorithms?
Additional context
For reference, I found these related issues.
- https://github.com/raspberrypi/picamera2/issues/635
- https://github.com/raspberrypi/picamera2/issues/893#issuecomment-1855459186
- https://github.com/raspberrypi/picamera2/issues/891#issuecomment-1852330916
- https://forums.raspberrypi.com/viewtopic.php?t=190314
- https://forums.raspberrypi.com/viewtopic.php?p=2208717&hilit=flash#p2209016
- https://picamera.readthedocs.io/en/release-1.13/recipes2.html#using-a-flash-with-the-camera
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 258
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/picamera2
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
raspberrypi/picamera2#1405 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
raspberrypi/picamera2#1404 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
raspberrypi/picamera2#1403 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
raspberrypi/picamera2#1392 · 13 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
raspberrypi/picamera2#1389 · 4 comments ·
All issues in raspberrypi/picamera2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100