SAN FRANCISCO — When Esaïe Prickett sat down in the living room with his mother, father and four older brothers, he was the only one wearing Google Glass.

As Esaïe, who was 10 at the time and is 12 now, gazed through the computerized glasses, his family made faces — happy, sad, surprised, angry, bored — and he tried to identify each emotion. In an instant, the glasses told him whether he was right or wrong, flashing tiny digital icons that only he could see.

Esaïe was 6 when he and his family learned he had autism. The technology he was using while sitting in the living room was meant to help him learn how to recognize emotions and make eye contact with those around him. The glasses would verify his choices only if he looked directly at a face.

He and his family tested the technology for several weeks as part of a clinical trial run by researchers at Stanford University in and around the San Francisco Bay Area. Recently detailed in The Journal of the American Medical Association, Pediatrics, the trial fits into a growing effort to build new technologies for children on the autism spectrum, including interactive robots and computerized eyewear.