Lens inspection module for the inspection of ophthalmic lenses, in particular contact lenses such as soft contact lenses, comprising: - a lens insertion station for the insertion of the ophthalmic lenses to be inspected into inspection cuvettes, - at least one lens inspection station (11, 12) for the inspection of the inserted ophthalmic lenses in the inspection cuvettes, - a lens removal station for removal of the inspected ophthalmic lenses from the inspection cuvettes, - a closed-loop transportation rail extending in a plane (X, Y), with the lens insertion station, the at least one lens inspection station (11, 12) and the lens removal station being arranged along the closed-loop transportation rail, - a cuvette transportation shuttle arranged on the closed-loop transportation rail, the cuvette transportation shuttle having a plurality of inspection cuvettes arranged thereon, for transportation of the plurality of inspection cuvettes in a transportation direction along the closed-loop transportation rail from the lens insertion station to the at least one lens inspection station (11, 12), from there to the lens removal station, and back to the lens insertion station, and - a self-driving cleaning shuttle for cleaning the closed-loop transportation rail, the self-driving cleaning shuttle being arranged on the closed-loop transportation rail and comprising a driving unit for moving the self-driving cleaning shuttle along the closed-loop transportation rail in the transportation direction, and further comprising a cleaning head, a suction unit, and a tube connecting the cleaning head and the suction unit, the cleaning head being arranged spaced apart from the suction unit and the driving unit in the transportation direction, and being pivotally arranged about a pivot axis extending perpendicular to the plane (X, Y) in which the closed-loop transportation rail extends, the cleaning head comprising at least one suction opening arranged to face the closed-loop transportation rail for removing debris from the closed-loop transportation rail and for transporting the debris to the suction unit through the tube, wherein either the cleaning head or the driving unit or both comprise a distance sensor for detecting the distance between the self-driving cleaning shuttle and the cuvette transportation shuttle, the distance sensor being connected to the driving unit for providing a signal to the driving unit representing the distance between the self-driving cleaning shuttle and the cuvette transportation shuttle, and wherein the driving unit is configured to change the speed of the self-driving cleaning shuttle when the distance between the self-driving cleaning shuttle and the cuvette transportation shuttle is shorter than a predetermined threshold distance. - a lens insertion station for the insertion of the ophthalmic lenses to be inspected into inspection cuvettes, - at least one lens inspection station (11, 12) for the inspection of the inserted ophthalmic lenses in the inspection cuvettes, - a lens removal station for removal of the inspected ophthalmic lenses from the inspection cuvettes, - a closed-loop transportation rail extending in a plane (X, Y), with the lens insertion station, the at least one lens inspection station (11, 12) and the lens removal station being arranged along the closed-loop transportation rail, - a cuvette transportation shuttle arranged on the closed-loop transportation rail, the cuvette transportation shuttle having a plurality of inspection cuvettes arranged thereon, for transportation of the plurality of inspection cuvettes in a transportation direction along the closed-loop transportation rail from the lens insertion station to the at least one lens inspection station (11, 12), from there to the lens removal station, and back to the lens insertion station, and - a self-driving cleaning shuttle for cleaning the closed-loop transportation rail, the self-driving cleaning shuttle being arranged on the closed-loop transportation rail and comprising a driving unit for moving the self-driving cleaning shuttle along the closed-loop transportation rail in the transportation direction, and further comprising a cleaning head, a suction unit, and a tube connecting the cleaning head and the suction unit, the cleaning head being arranged spaced apart from the suction unit and the driving unit in the transportation direction, and being pivotally arranged about a pivot axis extending perpendicular to the plane (X, Y) in which the closed-loop transportation rail extends, the cleaning head comprising at least one suction opening arranged to face the closed-loop transportation rail for removing debris from the closed-loop transportation rail and for transporting the debris to the suction unit through the tube, wherein either the cleaning head or the driving unit or both comprise a distance sensor for detecting the distance between the self-driving cleaning shuttle and the cuvette transportation shuttle, the distance sensor being connected to the driving unit for providing a signal to the driving unit representing the distance between the self-driving cleaning shuttle and the cuvette transportation shuttle,