add camera library and demo code