Using the Camera in Mission Planner Simulation

I want to get the camera frame with opencv in the mission planner simulation. and want to modify GCS.
Which file should I modify?