- A method for preparing a pillbox comprising a plurality of cavities for receiving at least one medication, called pill, in divided solid galenic form, wherein the following steps are carried out: - a step, called initial step, wherein the cavities of the pillbox are placed facing an image acquisition device, - at least two filling steps wherein, in each filling step, a group of at least one pill is placed in at least one cavity of the pillbox according to data, called filling data, of a medical prescription for a therapeutic treatment of a patient, - at least two steps of image acquisition of the pillbox by the image acquisition device, including: ∘ a step of acquiring an image of the pillbox after a filling step, ∘ another step of acquiring an image of the pillbox after another filling step, characterized in that, after at least one acquisition step, called current acquisition step, a computer-implemented step of checking the filling of the pillbox is performed, wherein: ∘ an image acquired during said current acquisition step is compared with an image acquired during an acquisition step preceding said current acquisition step so as to identify the pills placed between this acquisition step preceding said current acquisition step and the current acquisition step, ∘ then conformity of the filling is evaluated from a comparison between the pills identified and the filling data. wherein the following steps are carried out: - a step, called initial step, wherein the cavities of the pillbox are placed facing an image acquisition device, - at least two filling steps wherein, in each filling step, a group of at least one pill is placed in at least one cavity of the pillbox according to data, called filling data, of a medical prescription for a therapeutic treatment of a patient, - at least two steps of image acquisition of the pillbox by the image acquisition device, including: ∘ a step of acquiring an image of the pillbox after a filling step, ∘ another step of acquiring an image of the pillbox after another filling step, - a step, called initial step, wherein the cavities of the pillbox are placed facing an image acquisition device, - at least two filling steps wherein, in each filling step, a group of at least one pill is placed in at least one cavity of the pillbox according to data, called filling data, of a medical prescription for a therapeutic treatment of a patient, - at least two steps of image acquisition of the pillbox by the image acquisition device, including: ∘ a step of acquiring an image of the pillbox after a filling step, ∘ another step of acquiring an image of the pillbox after another filling step, ∘ a step of acquiring an image of the pillbox after a filling step, ∘ another step of acquiring an image of the pillbox after another filling step, characterized in that, after at least one acquisition step, called current acquisition step, a computer-implemented step of checking the filling of the pillbox is performed, wherein: ∘ an image acquired during said current acquisition step is compared with an image acquired during an acquisition step preceding said current acquisition step so as to identify the pills placed between this acquisition step preceding said current acquisition step and the current acquisition step, ∘ then conformity of the filling is evaluated from a comparison between the pills identified and the filling data. ∘ an image acquired during said current acquisition step is compared with an image acquired during an acquisition step preceding said current acquisition step so as to identify the pills placed between this acquisition step preceding said current acquisition step and the current acquisition step, ∘ then conformity of the filling is evaluated from a comparison between the pills identified and the filling data.