The difference in numbers is how things are measured. Measure them the same way and Japan's rate is lower than the USA
https://en.wikipedia.org/wiki/Conviction_rate#:~:text=If%20m....
Another thing is even you are somehow found innocent, the prosecutor gets to immediately appeal and they are likely to win that appeal. You stay in jail/prison while all this plays out.
The US system is SUPPOSED to be based on its better to let the guilty go free than punish the innocent. (It fails at this but this is at least a lip service value) The Japanese system doesnt do this or really hold this as a major value.
"The security guard had been trying to meet a quota and felt that I, as a foreigner, would make an easy target."