Replacing the pinhole with a small aperture lens of the same focal length would provide a sharper image for precise composing and perspective control.