Add camera refcounting in interface (python)