The utility model discloses a bone nail specification identification and detection device based on
machine vision, which comprises an equipment main body, a bottom frame is fixedly connected to the position, close to the back, of the bottom of the inner side of the equipment main body, the top of the bottom frame is movably connected with a first
moving frame, and the top of the equipment main body is movably sleeved with a 2D black and white camera. A connecting piece is movably clamped to the position, close to one side, of the equipment body, and an industrial
personal computer is movably clamped to the side, away from the equipment body, of the connecting piece. According to the utility model, through the arrangement of the 2D black and white camera and the 2D
line scanning camera, the counting speed can be improved, compared with manual counting, the counting time can be reduced to one sixth of that of manual counting by adopting the equipment, the
counting efficiency is greatly improved, and meanwhile, the standardized operation process and result can be realized; and the difference existing when different persons carry out counting is avoided, so that the
traceability and the management effect of counting are improved, and the labor pressure is reduced.