Systems and methods are provided for recognizing various sample containers carried in a rack. The systems and methods are performed to identify sample containers in the rack and detect various characteristics associated with the containers and/or the rack, which are evaluated to determine the validity and/or types of the containers in the rack.