There's some AI involved at some retailers - I bought 2 identical items and the second wouldn't scan at the self checkout, so I grabbed the first item and scanned it again, and the camera-watching, object-detection system threw a fit (and played back the video of me). I had to call a human to complete my purchase. My suspicion is it is smart enough to detect that I moved an "unscanned" item from my basket item into the bagging area, but not smart enough to figure out I wasn't trying to cheat.