def _get_annotate_foreground(self):
self._check_camera_open()
mp = self._get_annotate_settings()
if self._annotate_v3 and mp.custom_text_color:
return Color.from_yuv_bytes(
mp.custom_text_Y,
mp.custom_text_U,
mp.custom_text_V)
else:
return Color('white')
评论列表
文章目录