The technology achieved 98 percent accuracy, including in low-light and foggy conditions and with passengers wearing hats and glasses.