Skip to content

Instantly share code, notes, and snippets.

View dhruvika15's full-sized avatar
๐Ÿ˜€

Dhruvika Sharma dhruvika15

๐Ÿ˜€
View GitHub Profile
@dhruvika15
dhruvika15 / game.html
Created July 16, 2022 13:46
Game using HTML, CSS and JavaScript
<!DOCTYPE html>
<html>
<head>
<title>Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
*{
font-family: Georgia, serif;
}
@dhruvika15
dhruvika15 / live_html_interpreter.html
Created July 16, 2022 10:59
Live HTML Interpreter
<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;
@dhruvika15
dhruvika15 / cv2-invisible-cloak.ipynb
Created April 27, 2022 03:17
cv2 invisible cloak.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhruvika15
dhruvika15 / Tree-PreOrder-Traversal-using-Tail-Recursion.py
Created February 2, 2022 09:25
Binary Tree PreOrder Traversal using Tail Recursion
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")
@dhruvika15
dhruvika15 / face_blur.py
Created December 13, 2021 08:17
Face Detection and Blur during live video stream
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: