score:2
The machine can not tell, but the person looking at the screen, may have seen enough toiletries to know physical sizes and related content volume. The metal can of your aerosol may, by itself, warrant a visual inspection, at which time flammability and weight will be obvious.
It is always better to go legal, rather than pushing your luck and arriving at your destination minus some of your toiletries.