Startseite VertiGo – a pilot project in nystagmus detection via webcam
Artikel Open Access

VertiGo – a pilot project in nystagmus detection via webcam

  • Sophia Reinhardt EMAIL logo , Joshua Schmidt , Michael Leuschel , Christiane Schüle und Jörg Schipper
Veröffentlicht/Copyright: 17. September 2020
Veröffentlichen auch Sie bei De Gruyter Brill

Abstract

Dizziness is one of the most common symptoms in medicine. For differentiation of peripheral or central origin of the vertigo, history and clinical examination with detection of a nystagmus is essential. The aim of this study was to detect horizontal vestibular nystagmus utilizing a webcam. In the feasibility study, caloric induced vestibular nystagmus was recorded with conventional video-nystagmography and webcam. Analysis of recorded data was performed with a developed software which used computer vision techniques. A designed algorithm detected nystagmus existence and their direction. The software was evaluated by an expert-rated video-nystagmography. Webcam-based vestibular nystagmus detection is possible. Currently, a clinical application is not approved. Further software improvements are necessary to increase its accuracy.

Introduction

Dizziness is one of the most common, non-specific complaints in medicine [1]. Approximately every third person is complaining of dizziness at some point in their lives, affecting daily activities in 20% of patients older than 60 years and increasing up to 50% for over 80-year-olds [2]. The balance disorder can result in absence from work, social isolation, drop-attacks causing fractures which can lead to immobility as well as loss of self-determination.

In case of an acute vestibular attack, patients complain of experiencing a rapid onset of vertigo with illusory sensation of movement, nausea or vomiting, and gait unsteadiness. The symptoms can last days to weeks and are often self-limited. In U.S. emergency departments it is estimated that more than two million visits annually for dizziness or vertigo are expected [3]. It is difficult for emergency physicians or general practitioners to determine whether the vertigo is of peripheral or central origin because the presence of central disorders such as cerebellar infarction or haemorrhage, basilar artery occlusion, vertebral artery require immediate management.

In the differentiation of peripheral or vestibular origin of the vertigo, the history as well as clinical examination with detection of a nystagmus is essential [2]. A nystagmus is an involuntary rhythmic oscillation of the eyes induced by a dynamic, patterned visual stimulus or malfunction in the vestibular system.

Elementary in the detection of a nystagmus are Frenzel spectacles or video-nystagmography [4]. Depending on their existence, direction and movement pattern, the nystagmus can be distinguished between primarily vestibular or neurological pathogenesis.

Further nystagmus detection tools and vestibular tests are available which could only provide a snapshot of vestibular function [5]. Additionally, these traditional and contemporary testing tools need expertise in handling, experience in evaluation of test results, high acquisition costs and are just available in specialized clinical settings, e.g., clinic or hospital [5], [6], [7], [8], [9]. Especially in rural areas these testing tools or an expert are often not available.

The sporadic onset and shortly self-limited episode of dizziness like Ménière’s disease and Vestibular Migraine or benign paroxysmal positional vertigo (BPPV) make it unlikely that this episode can be examined and seen by a physician at an appointment. Therefore, the aim of this study was the feasibility of nystagmus detection with a low-cost and easy to handle method using a commercially available webcam under less than ideal lighting conditions. The necessary pupil motion profiles should be recorded using computer vision techniques while a self-developed algorithm should evaluate the existence or absence of nystagmus from recorded motion profiles.

Material and methods

In the feasibility study, 30 healthy volunteers participated in caloric vestibular testing with water at 44 °C for 30 s with a 30° head inclination position [10]. All probands denied ear problems or diseases as well as dizziness at the time of testing and in the past. Microscopic ear inspection was unsuspicious. Video-nystagmography was utilized with all probands to assure an absence of nystagmus without vestibular stimulation. The detection of nystagmus was recorded conventionally via video-nystagmography (Diatec, Germany) of one ear (Figure 1). After a recovery period of 5–7 min the other ear was tested in order to make sure that no vestibular hypofunction or dysfunction existed.

Figure 1: Setup for nystagmus detection via webcam.
Figure 1:

Setup for nystagmus detection via webcam.

Followed by an additional recovery break of 20 min, a further caloric testing was performed in the same manner for each ear. At this time, the detection of nystagmus was recorded using a FullHD webcam (n=57) for 60 s with an average amount of around 20–25 frames per second of the facial region. Video recording was only accepted if the face and two eyes have been identified frontally in almost every frame within the first 20 s of the detection.

Videos were consecutively numbered and pseudonymized. Data was saved as a video sequence with a small rectangle cut out of the eyes which limited the recognition and assured anonymous data evaluation (Figure 2). Only the principal investigator was able to identify each proband.

Figure 2: Pseudonymized video recording with a rectangle cutout bounding the eye regions.
Figure 2:

Pseudonymized video recording with a rectangle cutout bounding the eye regions.

The recorded data was analyzed with a self-developed software which has been implemented using the open source programming library OpenCV (Open Source Computer Vision Library) [11]. The software detected faces and eyes by “Facial Landmark Detection” which is integrated in the OpenCV library [11], [12]. Given the bounding rectangle of a single eye (Figure 2), the convex hull of the facial landmarks describing the eye was computed in order to minimize the region of interest as much as possible. Afterwards, the cropped eye region was blurred to remove any noise, and eroded to reduce the impact of backlights, i.e., a pixel is set to a local minimum with respect to its neighbouring region. The processed image was then binarized in order to have only black and white pixels. This image binarization aimed at separating the iris from the eyeball. After that, the contour of the iris was detected which was separated by the color contrast. Next, the pupil position was derived by calculating the centroid of the detected iris contour. Thus, the applied method for pupil detection assumed that the center of the iris is the center of the pupil. The aforementioned binarization of the eye region used a threshold to set pixels to either black or white. As this threshold was sensitive to the quality of the image, e.g., image resolution and light conditions, the threshold was calibrated using the first 20 images of a given video. Empirical results have shown that the size of the iris usually took around 50% of the size of an eye region which has been detected using Facial Landmark Detection. Accordingly, iteration over a set of possible threshold candidates was performed and the value which provided a contour of the iris that is closest to 50% of the overall eye region’s size was kept for each image. The most common threshold obtained by the images was used for the following pupil detection. The pupil detection provided a sequence of pupil positions with timestamps for each eye (Figure 3), i.e., a time series of data. For horizontal nystagmus detection, vertical pupil positions were removed. An algorithm to detect nystagmus in a sequence of horizontal pupil positions was designed according to the nystagmus definition describing a fast and slow phase. The software thus detected a nystagmus if pupil movement was faster than a predefined threshold value between two frames and the velocity of pupil movement was consistent until a maximum peak has been reached. This fast phase then had to be followed by a slow phase where the pupil moved considerably slower back to the primary point of pupil movement (Figure 3). The self-developed algorithm used predefined threshold values, e.g., defining the minimum velocity of a nystagmus fast phase and the minimum distance between the primary point and peak of a nystagmus. The threshold values have been examined empirically using the data gathered during the ongoing research study. For each dataset, a threshold of at least two nystagmus in the same direction was used to distinguish between the presence or absence of nystagmus.

Figure 3: Graph of recorded ocular movements with arrows at detected nystagmus.
Figure 3:

Graph of recorded ocular movements with arrows at detected nystagmus.

An evaluation of the software was performed by three experienced ear, nose, and throat (ENT) specialists who analyzed the existence and possible direction of all nystagmus in all videos without Frenzel spectacles. A video sequence was defined as positive for nystagmus if at least one ENT specialist evaluated their existence. An additional comparison was performed where the direction of a nystagmus was determined by the software and had to match to the evaluation of at least one ENT specialist.

Descriptive analyses were carried out using Microsoft Excel (Microsoft Corporation, Redmond, USA) to compare the evaluation of the ENT specialists and the software.

Results

All probands have shown objective vestibular response with the first caloric testing on both ears.

Webcam-based nystagmus detection had identified a single nystagmus in 73% of cases, while the ENT specialists evaluated 68.42% of data to contain nystagmus. When using the threshold of two nystagmus in the same direction to determine the presence of nystagmus, the software determined 57.90% of data to contain nystagmus.

The software achieved an accuracy of 50.88%, which is the proportion of data which were correctly classified including true positives and true negatives when using the criteria of two nystagmus in the same direction. Furthermore, 63.64% of the data which the software evaluated to contain nystagmus are correctly classified compared to the evaluation of the ENT specialists (precision), while 56.76% of the data which contained nystagmus according to the ENT specialists have been identified correctly by the software (sensitivity) (Table 1).

Table 1:

Nystagmus existence determined by the software and compared to the evaluation of the ear, nose, and throat (ENT) specialists.

ENT specialist
PositiveNegative
SoftwarePositive56.76% (21)60.00% (12)
Negative43.24% (16)40.00% (8)

Besides the presence of nystagmus, the expected direction of nystagmus was recorded during the caloric vestibular testing. In 83.33% of cases where the ENT specialists detected nystagmus, at least one ENT specialist assigned a nystagmus to the expected direction, while the software assigned the expected direction of nystagmus in 60.60% of cases where it detected nystagmus using the threshold of two nystagmus in the same direction.

Discussion

Besides history taking, vital signs and gait function, the detection of nystagmus is one of the key components in examination of dizziness [13]. In dependence of their existence, direction and movement patterns are important to distinguish between primarily vestibular or neurological pathogenesis. It could be shown that examination of eye movements is more sensitive and less costly for the diagnosis of acute vestibular syndromes and the differentiation between peripheral and central lesions than magnetic resonance imaging (MRI) [14], [15].

In the present feasibility study, it could be shown that horizontal vestibular nystagmus detection with a commercially available webcam is possible. The software algorithms were also able to distinguish between left and right-beating horizontal nystagmus.

In comparison to other traditional or contemporary nystagmography devices the inexpensive and easy to handle equipment has many advantages: it does not require an additional google or other bulky gadgets and no detailed calibration or professional expertise in application is mandatory which is time-, budget- and personal-saving [5], [6], [7], [8], [9]. Turuwhenua et al. presented webcam-based nystagmography with tracking limbus edge of eyes with the aim to investigate optokinetic nystagmus [7]. Yet, the study used a limited patient cohort, similar lighting conditions, and a device fixating the head. Similar to other nystagmography methods, this precise technique is limited in future emergency application for vestibular testing due to the head fixation and it is unclear how it will perform under varying lighting conditions as well as for different patients.

With the visualization of a video sequence a consultation of a specialized doctor at another location or clinic is possible. Therefore, patients could record sporadic onset of vertigo episodes showing the video footage at the following doctor’s appointment or unspecialized doctors in rural areas which are then able to consult specialized doctors [5].

In the experimental setting the vestibular nystagmus detection could be shown. Yet, further improvements are required to develop the software from a research tool into a reliable investigation tool in primary or secondary care. So far, the results are affected by some limitations. All probands have shown vestibular response with first caloric testing. Limited nystagmus detection could be affected in individual cases by an insufficient recovery period of 20 min after first caloric testing. Further, we assume that in the feasibility study the major limitation was a suppressed nystagmus due to fixating the webcam. Therefore, the ENT-specialists and the software could not always detect any nystagmus. With the use of a simple and low-cost penlight the fixation of the eye could be prevented [16]. Furthermore, the inexpensive investment of a commercial webcam with a maximum rate of 30 frames per second could limit the fundamental frequency of nystagmus detection. Similar to the contemporary continuous ambulatory vestibular assessment (CAVA) system, the slow phase of velocity of a nystagmus which quantifies the ocular movement was not possible to calculate [5]. Additional interferences are experienced with fatigue and resulting nictitating of eyes, dark coloured iris, reflection of extensive lashes or eye-liner as well as shady lighting [5], [7].

In future, further improvements and tests of the software are necessary to increase its accuracy and reduce interference in order to develop a low-budget and easy to handle examination tool for patients in primary and secondary care. In further trials, it should be evaluated whether a machine learning algorithm can be trained to detect horizontal nystagmus from a recorded time series of data. In this context, a larger amount of gathered data is essential to evaluate whether a machine learning algorithm can be trained. Further, we want to extend the study to evaluate whether vertical or rotating eye movements can be detected as well.


Corresponding author: Sophia Reinhardt, Department of Otorhinolaryngology, Düsseldorf University Hospital, Düsseldorf, Germany, E-mail:

  1. Research funding: The author state no funding involved.

  2. Author contributions: All authors have accepted responsibility for the entire content of this manuscript and approved its submission.

  3. Competing interests: Authors state no conflict of interest.

  4. Informed consent: Informed consent has been obtained from all probands included in this study.

  5. Ethical approval: The research use complies with all the relevant national regulations, institutional policies and was performed in accordance with the tenets of the Helsinki Declaration, and has been approved by the authors’ institutional review board or equivalent committee.

References

1. Della-Morte, D, Rundek, T. Dizziness and vertigo. Front Neurol Neurosci 2012;30:22–25. https://doi.org/10.1159/000333379.Suche in Google Scholar

2. Karatas, M. Central vertigo and dizziness: epidemiology, differential diagnosis, and common causes. Neurologist 2008;14:355–64. https://doi.org/10.1097/nrl.0b013e31817533a3.Suche in Google Scholar

3. Newman-Toker, DE, Hsieh, YH, Camargo, CA, Pelletier, AJ, Butchy, GT, Edlow, JA. Spectrum of dizziness visits to US emergency departments: cross-sectional analysis from a nationally representative sample. Mayo Clin Proc 2008;83:765–75. https://doi.org/10.4065/83.7.765.Suche in Google Scholar

4. Szirmai, A, Keller, B. Electronystagmographic analysis of caloric test parameters in vestibular disorders. Eur Arch Oto-Rhino-L 2013;270:87–91. https://doi.org/10.1007/s00405-012-1939-1.Suche in Google Scholar

5. Phillips, JS, Newman, JL, Cox, SJ. An investigation into the diagnostic accuracy, reliability, acceptability and safety of a novel device for continuous ambulatory vestibular assessment (CAVA). Sci Rep 2019;9:10452. https://doi.org/10.1038/s41598-019-46970-7.Suche in Google Scholar

6. Wolf, SR, Christ, P, Haid, CT. “Telemetric” electronystagmography: a new method for examination of nystagmus outside the clinic. Acta Oto-Laryngol 1991;111(481 Suppl):374–81. https://doi.org/10.3109/00016489109131426.Suche in Google Scholar

7. Turuwhenua, J, Yu, TY, Mazharullah, Z, Thompson, B. A method for detecting optokinetic nystagmus based on the optic flow of the limbus. Vision Res 2014;103:75–82. https://doi.org/10.1016/j.visres.2014.07.016.Suche in Google Scholar

8. Sefein, M, Kin, K, Lim, C, Firdaus, M, Patawe, P, Ai, O, et al. Clinical evaluation of a portable system for capturing nystagmus (PSCN) as an alternative to video-nystagmography. Gazi Med J 2019;30:286–9. https://doi.org/10.12996/gmj.2019.71.Suche in Google Scholar

9. Pander, T, Czabanski, R, Przybyla, T, Jezewski, J, Pojda-Wilczek, D, Wrobel, J, et al. A new method of saccadic eye movement detection for optokinetic nystagmus analysis. In: 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society. San Diego, CA, USA: IEEE; 2012:3464–3467 pp. https://doi.org/10.1109/embc.2012.6346711.Suche in Google Scholar

10. Mulch, G, Scherer, H. Methoden zur Untersuchung des ves-tibulären Systems, thermische Prüfung. HNO Informationen. Gräfelfing: Demeter Verlag 1980;1;7–16.Suche in Google Scholar

11. https://opencv.org/.Suche in Google Scholar

12. https://docs.opencv.org/master/d2/d42/tutorial_face_landmark_detection_in_an_image.html.Suche in Google Scholar

13. Molnar, A, McGee, S. Diagnosing and treating dizziness. Med Clin North Am 2014;98:583–96. https://doi.org/10.1016/j.mcna.2014.01.014.Suche in Google Scholar

14. Kattah, JC, Talkad, AV, Wang, DZ, Hsieh, YH, Newman-Toker, DE. HINT to diagnose stroke in the acute vestibular syndrome: three-step bedside oculomotor examination more sensitive than early MRI diffusion-weighted imaging. Stroke 2009;40:3504–10. https://doi.org/10.1161/strokeaha.109.551234.Suche in Google Scholar

15. Newman-Toker, DE, Tehrani, ASS, Mantokoudis, G, Pula, JH, Guede, CI, Kerber, KA, et al. Quantitative video-oculography to help diagnose stroke in acute vertigo and dizziness: toward an ECG for the eyes. Stroke 2013;44:1158–61. https://doi.org/10.1161/strokeaha.111.000033.Suche in Google Scholar

16. Newman-Toker, DE, Sharma, P, Chowdhury, M, Clemons, TM, Zee, DS, Della Santina, CC. Penlight-cover test: a new bedside method to unmask nystagmus. J Neurol Neurosurg Psychiatry 2009;80:900–3. https://doi.org/10.1136/jnnp.2009.174128.Suche in Google Scholar

Published Online: 2020-09-17

© 2020 Sophia Reinhardt et al., published by De Gruyter, Berlin/Boston

This work is licensed under the Creative Commons Attribution 4.0 International License.

Artikel in diesem Heft

  1. Proceedings Papers
  2. 4D spatio-temporal convolutional networks for object position estimation in OCT volumes
  3. A convolutional neural network with a two-stage LSTM model for tool presence detection in laparoscopic videos
  4. A novel calibration phantom for combining echocardiography with electromagnetic tracking
  5. Domain gap in adapting self-supervised depth estimation methods for stereo-endoscopy
  6. Automatic generation of checklists from business process model and notation (BPMN) models for surgical assist systems
  7. Automatic stent and catheter marker detection in X-ray fluoroscopy using adaptive thresholding and classification
  8. Autonomous guidewire navigation in a two dimensional vascular phantom
  9. Cardiac radiomics: an interactive approach for 4D data exploration
  10. Catalogue of hazards: a fundamental part for the safe design of surgical robots
  11. Catheter pose-dependent virtual angioscopy images for endovascular aortic repair: validation with a video graphics array (VGA) camera
  12. Cinemanography: fusing manometric and cinematographic data to facilitate diagnostics of dysphagia
  13. Comparison of spectral characteristics in human and pig biliary system with hyperspectral imaging (HSI)
  14. COMPASS: localization in laparoscopic visceral surgery
  15. Conceptual design of force reflection control for teleoperated bone surgery
  16. Data augmentation for computed tomography angiography via synthetic image generation and neural domain adaptation
  17. Deep learning for semantic segmentation of organs and tissues in laparoscopic surgery
  18. DL-based segmentation of endoscopic scenes for mitral valve repair
  19. Endoscopic filter fluorometer for detection of accumulation of Protoporphyrin IX to improve photodynamic diagnostic (PDD)
  20. EyeRobot: enabling telemedicine using a robot arm and a head-mounted display
  21. Fluoroscopy-guided robotic biopsy intervention system
  22. Force effects on anatomical structures in transoral surgery − videolaryngoscopic prototype vs. conventional direct microlaryngoscopy
  23. Force estimation from 4D OCT data in a human tumor xenograft mouse model
  24. Frequency and average gray-level information for thermal ablation status in ultrasound B-Mode sequences
  25. Generalization of spatio-temporal deep learning for vision-based force estimation
  26. Guided capture of 3-D Ultrasound data and semiautomatic navigation using a mechatronic support arm system
  27. Improving endoscopic smoke detection with semi-supervised noisy student models
  28. Infrared marker tracking with the HoloLens for neurosurgical interventions
  29. Intraventricular flow features and cardiac mechano-energetics after mitral valve interventions – feasibility of an isolated heart model
  30. Localization of endovascular tools in X-ray images using a motorized C-arm: visualization on HoloLens
  31. Multicriterial CNN based beam generation for robotic radiosurgery of the prostate
  32. Needle placement accuracy in CT-guided robotic post mortem biopsy
  33. New insights in diagnostic laparoscopy
  34. Robotized ultrasound imaging of the peripheral arteries – a phantom study
  35. Segmentation of the distal femur in ultrasound images
  36. Shrinking tube mesh: combined mesh generation and smoothing for pathologic vessels
  37. Surgical audio information as base for haptic feedback in robotic-assisted procedures
  38. Surgical phase recognition by learning phase transitions
  39. Target tracking accuracy and latency with different 4D ultrasound systems – a robotic phantom study
  40. Towards automated correction of brain shift using deep deformable magnetic resonance imaging-intraoperative ultrasound (MRI-iUS) registration
  41. Training of patient handover in virtual reality
  42. Using formal ontology for the representation of morphological properties of anatomical structures in endoscopic surgery
  43. Using position-based dynamics to simulate deformation in aortic valve replacement procedure
  44. VertiGo – a pilot project in nystagmus detection via webcam
  45. Visual guidance for auditory brainstem implantation with modular software design
  46. Wall enhancement segmentation for intracranial aneurysm
Heruntergeladen am 5.11.2025 von https://www.degruyterbrill.com/document/doi/10.1515/cdbme-2020-0043/html
Button zum nach oben scrollen