1. A photographic or electronic camera with an optoelectronic distance meter, comprising: two linear image sensors each having a plurality of sensor elements; a lens in a path of rays from an object, and two partial aperture diaphragms for creating first and second bundles of rays corresponding to two images obtained from the object, said images being projected on the two linear image sensors; an evaluating circuit means which in dependence upon varied position displacements of sensor signals obtained from the one image sensor with respect to sensor signals obtained from the other image sensor determines a maximum correlation between these signals and an associated position displacement with a corresponding electrical value being output; a swinging mirror which in a first position deflects the path of rays from the lens selectively into a view finder for single reflex operation, and in a second position permits the rays to pass to an image plane for picture-taking; said swinging mirror having two apertures which are positioned to locate the partial aperture diaphragms and permit the first and second bundles of rays to pass therethrough; deflection element means comprising deflecting mirrors attached in a fixed position to the swinging mirror which is positioned in a path of these first and second partial bundles of rays passing through the apertures so as to project the images onto the image sensors, and said image sensors are integrated in a doped semiconductor body which is fastened on the swinging mirror.