Keeping innocent people out of jail using the science of perception