I would either e-mail or ask the professer in person if it would be OK. If he says no, ask why.