tablets are accommodated temporarily discharged through the exhaust passage of refined received from the cartridge and into the hopper of the lower tablet discharge sensing device of the tablet packaging machines including a middle shutter is started to discharge . The exhaust purifying apparatus detects purified sensing unit for sensing at least one tablet is accommodated in the intermediate shutter to the two-dimensionally , and the tablets on the basis of the prediction that the prescribed target for three-dimensional shape and the predicted three-dimensional shape detection portion detects the data from the tablet a control unit for judging . This ensures the correct preparation according to the prescription by .정제가 수용된 카트리지들로부터 배출 통로를 통해 배출된 정제들을 일시 수용한 후 하부의 호퍼로 배출하는 중간 셔터들을 포함하는 약제 포장기의 정제 배출 감지 장치가 개시된다. 이 정제 배출 감지 장치는 중간 셔터로 수용되는 하나 이상의 정제를 이차원적으로 감지하는 정제 감지부, 및 상기 정제 감지부의 감지 데이터로부터 삼차원 형상을 예측하고 상기 예측된 삼차원 형상에 근거하여 처방 대상 정제인지를 판단하는 제어부를 포함한다. 이에 의해 처방에 따른 정확한 조제가 보장된다.