ahmdprog
Posts: 3
Joined: Wed Apr 26, 2017 8:18 am

Camera Image Annotate Position

Fri Jun 14, 2019 1:21 pm

Is there any way to control position of text in MMAL_PARAMETER_CAMERA_ANNOTATE_V3_T ?.

having the annotate in center is really not very convenient.

Appreciate your help. or maybe to let us know the source code of implementing the annotate in userland (https://github.com/raspberrypi/userland)

PiGraham
Posts: 3559
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Camera Image Annotate Position

Fri Jun 14, 2019 1:56 pm

How about
MMAL_PARAMETER_CAMERA_ANNOTATE_V4_T

Code: Select all

  uint32_t    justify; //0=centre, 1=left, 2=right

   uint32_t    x_offset; //Offset from the justification edge

   uint32_t    y_offset;

https://github.com/raspberrypi/userland ... s_camera.h

Return to “C/C++”