Do I have to wear the pants over my feet?

For scanning, yes. This is the recommended best practice for getting good scan data around the lower leg and foot region.