1. A device for detecting circumventing behavior, comprising: an estimation unit that estimates a degree of crowd congestion in relation to each of a plurality of partial areas of a target image; and a detection unit that detects circumventing behavior of a crowd by using a distribution state and a temporal transition of the degree of congestion estimated by the estimation unit.