How to identify whether the subtitle is displayed in a video player

I am testing a mobile application which have video player in it. That video player have subtitles embedded with the video. So there is no element to locate it. How to check whether the video have subtitles or not. I am using appium java to test it

  1. make screenshot of subtitle area
  2. try use any free OCR library to get text from it
  3. there is also GitHub - jlipps/appium-ocr-plugin: Tesseract-based OCR plugin for Appium which possibly can help you. All depends how you going to check subtitles…