Lie-detector tests are notoriously unreliable, so that suggestion won't make the cut.
If one could come up with a god like device to determine guilt and there were no differentials in applying punishment based on race, class, wealth or ethnicity - we might have a case for capital punishment...