Extracts and warps document from picture