By Akash Rawat
In this Python program, a video is played on the web app, on clicking the 'take a screenshot' button, the text is detected in the image using 'AWS recognition' and displayed on the same webpage.
Python flask is used for creating this web app. It is used for UI purposes here. User needs to create and setup an AWS account and use credentials in the python program (replace "#########" in the credential area in code by your credentials).
Runs on localhost type: " python3 detecttext.py" on the command line.
Needs flask and boto3 on the system(for AWS API )
Sample screenshots :
The functions created in this program using BOTO3 in this program can be used and modified to detect other elements in images e.g. objects.