In cricket, having a legal ball hit the stumps (three vertical sticks behind the batsman/batter) is an unambiguous way to get out.
A leg-before-wicket (LBW) out on the other hand happens if the umpire deems the ball would have struck the stumps if the batsman hadn't put their legs (really pads) in the way (there are other technicalities involved but thats the gist). A MLB ball/strike judgement seems similar in nature. Cricket has been using ball-tracking technology for over a decade now for determining LBW.
See:
https://en.wikipedia.org/wiki/Leg_before_wicket https://www.espncricinfo.com/story/ball-tracking-and-the-uni...