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
from flask import Flask, request, jsonify | |
import os | |
import cv2 | |
import numpy as np | |
import pytesseract | |
import csv | |
import re | |
import io | |
import os |
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
import cv2 | |
import numpy as np | |
import pytesseract | |
import os | |
import csv | |
import re | |
per = 25 | |
pixelThreshold = 500 |
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
######### Region Selector ############################### | |
""" | |
This script allows to collect raw points from an image. | |
The inputs are two mouse clicks one in the x,y position and | |
the second in w,h of a rectangle. | |
Once a rectangle is selected the user is asked to enter the type | |
and the Name: | |
Type can be 'Text' or 'CheckBox' | |
Name can be anything | |
""" |
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
from flask import Flask, request, jsonify | |
from deepface import DeepFace | |
import matplotlib.pyplot as plt | |
import os | |
from minio import Minio | |
app = Flask(__name__) | |
# allow POST requests |
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
!git clone https://github.com/tensorflow/models.git | |
%cd /content/models/research/ | |
!protoc object_detection/protos/*.proto --python_out=. | |
# Install TensorFlow Object Detection API for TF1. | |
!cp object_detection/packages/tf1/setup.py . | |
!python -m pip install . |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.