You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how could I bring dynamic text as annotation to a picture and video? If I make something like this camera.pre_callback = apply_annotation1 [...] camera.pre_callback = apply_annotation2 [...] camera.pre_callback = apply_annotation1
I do sometimes see only the annotation 1, but never 2 (depending on time...?). Seems the lib needs some time to deal with a new set of annotation or even some stop/start of the cam is needed to have it applied. Is there any chance to pas it via parameter like in good old days as in picamera implementation, e.g.
`
add the camera location, and actual status as annotation to the videostream
camera.annotate_text = location + " circular buffer"
[...]
camera.annotate_text = location + " trigger detected"
`
Or is there some simple trick to alter the annotation during runtime with picamera2?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
how could I bring dynamic text as annotation to a picture and video? If I make something like this
camera.pre_callback = apply_annotation1 [...] camera.pre_callback = apply_annotation2 [...] camera.pre_callback = apply_annotation1
I do sometimes see only the annotation 1, but never 2 (depending on time...?). Seems the lib needs some time to deal with a new set of annotation or even some stop/start of the cam is needed to have it applied. Is there any chance to pas it via parameter like in good old days as in picamera implementation, e.g.
`
add the camera location, and actual status as annotation to the videostream
camera.annotate_text = location + " circular buffer"
[...]
camera.annotate_text = location + " trigger detected"
`
Or is there some simple trick to alter the annotation during runtime with picamera2?
Best, Hans
Beta Was this translation helpful? Give feedback.
All reactions