The application provides an attendance management method and device, a terminal and a medium. The method comprises the following steps: acquiring multi-
modal identity data of an attendance staff, environment
light intensity data where the attendance staff is located, and two-dimensional code display data, and acquiring historical attendance data. The multi-
modal identity data comprises face image data,
infrared living body detection data, and
electronic access code data. The two-dimensional code display data comprises two-dimensional code image definition and two-dimensional code scanning angle. A
modal consistency evaluation value is obtained according to the multi-modal identity data, the face image data, the
electronic access code data, the environment
light intensity, the two-dimensional code image definition, and the two-dimensional code scanning angle. A face similarity judgment value is obtained according to the face image data, the
infrared living body detection data, and the historical attendance data. An attendance result is determined according to the modal consistency evaluation value and the face similarity judgment value. The real attendance situation of the staff is comprehensively considered.