Abstract
According to one embodiment, a cargo-handling apparatus includes a holding unit, an image-capturing unit, a distance measurement sensor, and a control unit. The holding unit holds an article. The image-capturing unit captures an image of the article in a first direction. The distance measurement sensor measures a distance to the article in a second direction crossing the first direction. The control unit controls the holding unit. The control unit selects a first article to be held based on an imaging result by the image-capturing unit, calculates, based on a measurement result by the distance measurement sensor, a position of a first face of the first article and a position of a second face of the first article, and causes the holding unit to operate in accordance with the calculated position of the first face and the calculated position of the second face to hold the first article.