Created
April 1, 2021 10:43
-
-
Save Ratheshprabakar/233aa8f1103398d08c98bcc492846d59 to your computer and use it in GitHub Desktop.
This function will load the necessary packages including flask, flask bootstrap, MySQLdb, sklearn, shutil, pickle, face_recognition, xlsxwriter, pandas, flask_mail that are needed for faculty functionality.
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,render_template,request,redirect,url_for,session | |
from flask_bootstrap import Bootstrap | |
import MySQLdb | |
import os | |
from math import sqrt | |
from sklearn import neighbors | |
from os import listdir | |
from os.path import isdir, join, isfile, splitext | |
import shutil | |
import pickle | |
from PIL import Image, ImageFont, ImageDraw, ImageEnhance | |
import face_recognition | |
from face_recognition import face_locations | |
from face_recognition.face_recognition_cli import image_files_in_folder | |
from datetime import datetime,timedelta | |
from pytz import timezone | |
import xlsxwriter | |
import pandas as pd | |
from glob import glob | |
from flask_mail import Mail, Message | |
from io import BytesIO | |
import base64 | |
import lable_image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment