How to add and work with analog video input?

How I can configure and add analog video camera to MangoPI Mq Pro D1? And how I can grab images via Python openCV?