The United States Geological Survey reported the 6.3 magnitude tremblors. It said the epicentre was 40 kilometres (24.8 miles) northwest of Herat city. There was an aftershock with a 5.5 magnitude.
The AI, developed by researchers at The University of Texas at Austin, was trained to detect statistical bumps in real-time seismic data that researchers had paired with previous earthquakes
The temblor, whose tremors sent ripples of anxiety across the region, had its epicenter located at 31.01 degrees north latitude and 141.99 degrees east longitude, pinpointing its origin with precision.
At 4:17 a.m. local time on Sunday, an earthquake struck, with its epicenter situated 84 km northeast of Tambrauw district at a depth of 10 km, according to the information provided by the weather agency as cited in a report by Xinhua news agency.
Reporters from Xinhua news agency observed a scene of devastation in Ouirgane, located in the Atlas Mountains, one of the most severely affected villages in the mountainous region.