PROBLEM TO BE SOLVED: To identify medicines themselves and sort them automatically. A medicine sorting device (1) specifies the size and shape of the medicine from an image of the medicine placed on a medicine mounting table (133a), and determines the size and shape of the medicine. A swivel mechanism (133b) is provided for swinging the medicine placing table according to the magnitude of the associated vibration and the number of vibrations per unit time. [Selection diagram] Fig. 3【課題】薬剤自体を認識し、自動的に仕分ける。【解決手段】薬剤仕分装置(1)は、薬剤載置台(133a)に載置された薬剤を撮像した画像から当該薬剤の大きさおよび形状を特定し、特定した当該薬剤の大きさおよび形状に紐付けられた振動の大きさおよび単位時間当たりの振動回数で、薬剤載置台を揺動させる旋回機構(133b)を備える。【選択図】図3