add support for different cameras and remove dependency on jhead