This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code adapted from: | |
# https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ | |
# USAGE | |
# python text_detection_video.py --east east_model_float16.tflite | |
# import the necessary packages | |
from imutils.video import VideoStream | |
from imutils.video import FPS | |
from imutils.object_detection import non_max_suppression | |
import tensorflow as tf |