AI application to detect cardiac arrests will be trialled this summer