Google Text Recognition Module Installation

The official documentation can be found here

Installation

To install pyttsx3 Integration, run the following snippet, which will install the required dependencies

pip install dronebuddylib[TEXT_RECOGNITION]

Usage

engine_configs = EngineConfigurations({})
engine = TextRecognitionEngine(TextRecognitionAlgorithm.GOOGLE_VISION, engine_configs)
image_path = r'C:\Users\Public\projects\drone-buddy-library\test\test_images\test_image_clear.jpg'
result = engine.recognize_text(image_path)

Output