producing boilerplate for single view detectors