Optical device including: - a fixed focus camera having a predetermined depth of field with an optical axis, - illumination means for evenly illuminating an object positioned within the increased depth of field of the camera, illumination means comprising at least one illumination source and at least one location for emitting light, - a support located around the optical axis of the camera and for at least one illuminating source, the support having the form of a ring positioned around the optical axis of the camera and wherein at the at least one illuminating source is fixed on the support and wherein the camera comprises a camera body, a lens holder, a lens housing, the camera body being fixed to the lens holder, the lens housing being fixed to the lens holder comprising in its interior at least one lens, characterised in that it further includes a diaphragm positioned in the optical axis of the camera and comprising a light passing aperture for increasing the predetermined depth of field of said camera to provide an increased depth of field, wherein the light passing aperture of the diaphragm is circular shaped and positioned to have its centre point coincide with the optical axis of the camera and in that the diaphragm is attached to the lens housing to form an opaque screen stopping the light from entering into the camera, wherein the at least one illuminating source is located around the diaphragm. - a fixed focus camera having a predetermined depth of field with an optical axis, - illumination means for evenly illuminating an object positioned within the increased depth of field of the camera, illumination means comprising at least one illumination source and at least one location for emitting light, - a support located around the optical axis of the camera and for at least one illuminating source, the support having the form of a ring positioned around the optical axis of the camera and wherein at the at least one illuminating source is fixed on the support and wherein the camera comprises a camera body, a lens holder, a lens housing, the camera body being fixed to the lens holder, the lens housing being fixed to the lens holder comprising in its interior at least one lens, characterised in that it further includes a diaphragm positioned in the optical axis of the camera and comprising a light passing aperture for increasing the predetermined depth of field of said camera to provide an increased depth of field, wherein the light passing aperture of the diaphragm is circular shaped and positioned to have its centre point coincide with the optical axis of the camera and in that the diaphragm is attached to the lens housing to form an opaque screen stopping the light from entering into the camera, wherein the at least one illuminating source is located around the diaphragm. wherein at the at least one illuminating source is fixed on the support and wherein the camera comprises a camera body, a lens holder, a lens housing, the camera body being fixed to the lens holder, the lens housing being fixed to the lens holder comprising in its interior at least one lens, characterised in that it further includes a diaphragm positioned in the optical axis of the camera and comprising a light passing aperture for increasing the predetermined depth of field of said camera to provide an increased depth of field, wherein the light passing aperture of the diaphragm is circular shaped and positioned to have its centre point coincide with the optical axis of the camera and in that the diaphragm is attached to the lens housing to form an opaque screen stopping the light from entering into the camera, wherein the at least one illuminating source is located around the diaphragm.