[ Finishes #62974602][Finishes #62974770] add sanitize  and basename for all paths in cameras and library