The invention provides, in some aspects, an automated external defibrillator (AED) that includes defibrillation circuitry capable of delivering a therapeutic shock to a patient. The AED also includes an input that receives a patient ECG signal representing real-time electrical activity of a heart of the patient and that may include artifacts resulting from cardiopulmonary resuscitation of the patient. The AED generates a real-time alert from a patient data image that is based on the patient ECG signal to effect application of the therapeutic shock to the patient. The AED generates that alert based at least in part on a shock recommendation of an artificial intelligence (AI) engine that analyzes the patient data image using a machine learning (ML) model trained with training data images. The patient data image comprises pixels whose values are a function of magnitudes of components of representations of respective time-slices of the patient ECG signal in a frequency domain. At least one training data image comprises pixels whose values are a function of magnitudes of components of representations of respective time-slices of a respective training ECG signal in the frequency domain.
AUTOMATED EXTERNAL DEFIBRILLATION WITH DEEP NEURAL NETWORK