I want to add text to the visualizer and the recorded video but I can't figure it out.
visualizer = oak.visualize(rec.out.main, fps=True, scale=1/2)
visualizer.add_text(text="Hello, World!", position=TextPosition.TOP_RIGHT)
This does nothing.
Is there a way to also add this to the recording?
oak.record(color.out.encoded, path='./video/', record_type=RecordType.VIDEO)
Thanks.