A video feed of one or more pupils of a patient can be received and processed to determine a raw measure of pupil size of the one or more pupils over time. Based on this raw measure, at least one of a) a depth of anesthesia for the patient, b) an index of cognitive activity for the patient, and c) a degree of perfusion of an anesthetic being administered to the patient to one or both hemispheres of a brain of the patient can be determined such that one or more actions can be caused to be performed. Related systems, methods, and article of manufacture are described.