add function to insert coordinates to shared memory to camera image send program