'Class 'DetectText' is never used, Method 'detectText()' is never used with Cloud Vision API

I am following Detect Text in Images on https://cloud.google.com/vision/docs/ocr#vision_text_detection-java

According to the todo comment, I replaced the filePath. But, I experienced Class DetectText, method detextText() is never used. How do I resolve this problem? image



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source