Section 15(1)(a) in The U.P. Factories Rules, 1950
(a)to photograph any worker, to inspect, examine, measure, copy, photograph, sketch or test, as the case may be, any building or room; and plant, machinery appliance or apparatus; any register or document; or anything provided for the purpose of securing the health, safety or welfare of the workers employed in a factory or a place which the Inspector has reasons to believe is a factory and to call for explanations for irregularities found, if any;