Skip to content

Instantly share code, notes, and snippets.

View PratyushMishra02's full-sized avatar
🏠
Working from home

Proxlight PratyushMishra02

🏠
Working from home
View GitHub Profile
<body class="align">
<div class="grid">
<form action="https://httpbin.org/post" method="POST" class="form login">
<div class="form__field">
<label for="login__username"><svg class="icon">
<use xlink:href="#icon-user"></use>
</svg><span class="hidden">Username</span></label>
<div class="container noselect">
<div class="wrapper">
<button id="replay">
<i class="fas fa-play"></i>
RESTART
</button>
<div id="canvas">
</div>
<div id="ui">
import socket
import sys
import time
s=socket.socket()
host=socket.gethostname()
print("Server will start on host:",host)
port=1234
s.bind((host,port))
import cv2
# Load the cascade
face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
# Read the input image
img = cv2.imread('test.jpg')
# Convert into grayscale
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
#Import
from gtts import gTTS
import os
#txt file
f=open('1.txt')
x=f.read()
language='en'