Cost function for single-camera perspective-n-point estimation using 3D features.
#include <pnp_cost.h>