Skip to content

Instantly share code, notes, and snippets.

View join2AJ's full-sized avatar
👨‍💻
I Can Do This All Day

Ajay Kumar join2AJ

👨‍💻
I Can Do This All Day
View GitHub Profile
@join2AJ
join2AJ / goldratio.py
Created August 1, 2021 11:35 — forked from adkwo/goldratio.py
My golden ratio calculator code
#Notes:
#(0,0) is upper left corner
#distance from the top of the nose to the centre of the lips should be 1.618 times the distance
#from the centre of the lips to the chin
#---> top of nose is the 1st point, centre of lips is the half-way point of the y-component of the 10th point, bottom of chin is the 9th point
#the hairline to the upper eyelid should be 1.618 times the length of the top of the upper eyebrow
import tensorflow as tf
import os
import numpy as np
import matplotlib.pyplot as plt
base_dir = "/Users/dhananjay.trivedi/Downloads/Train/"
"""
# Use `ImageDataGenerator` to rescale the images.

Downloading the script

Execute the command in a terminal window:

wget "https://gist.github.com/amalmurali47/050ef9250c5e1cd611f2e54012d1ece3/raw/29126c4e7e2ae79f8c61cd057e8b30c1345367ec/vaccine_checker.py"

It will save the script as vaccine_checker.py.

Requirements

You need the following installed:

  • Python