Oh, I had misunderstood it. But still, it's a lot harder to do that succesfully than to lock on a target and fly straight into it. Which already requires the compute power to do it, which makes it a lot more expensive than it is without.
Sure, but we can trade off computer power. Pi level computers can fly a straight line inside and explode in the middle (you are likely running several drones so each flys to a pattern hoping to get something useful inside). While flying to the middle they can do some image recognition, and if something looks like a high priority target they can target that, if not exploding in the middle will do something. The more powerful computer you put on (were powerful is often more expensive though not always) the better you can find targets
The important point in this is the drone will explode before it could reach anything not a target. It can sometimes find a better target than a pattern. In the ideal case you might fly it all the way, but if you lose radio over enemy territory anything the drone can find needs to die anyway so it may as well attempt to find something and kill it.