How to Integrate Apm 2.8 and Raspberry Pi 3 for Object Tracking

Hello, Please I want to carry out a project on object tracking, I have an APM 2.8 and a raspberry pi 3 as well as a raspberry camera, any advice on how I can make this happen?, your advice is appreciated. Thanks