Add 2 methods for extract and set camera parameters