This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Game</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<style> | |
*{ | |
font-family: Georgia, serif; | |
} |
This file contains hidden or 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
<html> | |
<head> | |
<title>Live HTML Interpreter</title> | |
<script src="https://kit.fontawesome.com/7e49c991d7.js" crossorigin="anonymous"></script> | |
<script> | |
function show_output() | |
{ | |
document.getElementById("output").innerHTML = document.getElementById("textArea").value; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
class TreeNode: | |
def __init__(self, d): | |
self.data = d | |
self.leftchild = None | |
self.rightchild = None | |
root = TreeNode("Menu") | |
drink = TreeNode("Drink") | |
food = TreeNode("Food") | |
tea = TreeNode("Tea") |
This file contains hidden or 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 | |
cap=cv2.VideoCapture(0) | |
model=cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml') | |
def face_blur(photo): | |
face=model.detectMultiScale(photo) | |
if len(face) != 0: | |
for nface in face: |