Comment by littlecranky67
11 hours ago
Not sure if they use dual-energy x-ray as in [0], but you don't need to if you take x-ray shot from different angles. Modern 3D reconstruction algorithms you can detect shape and volume of an object and estimate the material density through its absorption rate. A 100ml liquid explosive in a container will be distinguishable from water (or pepsi) by material density, which can be estimate from volume and absorption rate.
https://en.wikipedia.org/wiki/Dual-energy_X-ray_absorptiomet...
See also beepblap's comments further below where they elaborate on this a bit (it's not just simple dual-energy xray apparently).