Skip to content

Commit 688ef81

Browse files
author
Suyash Dabral
committed
Readme files added
1 parent a9ea44f commit 688ef81

File tree

11 files changed

+221
-0
lines changed

11 files changed

+221
-0
lines changed

AI_Attendence_Program/readme.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
## Face Recognition Attendance System
3+
4+
This is a Python script that uses the OpenCV and face_recognition libraries to create a simple face recognition attendance system. It captures images from a camera, recognizes faces, and logs attendance in a CSV file.
5+
6+
7+
## Prerequisites
8+
9+
Before running the code, you need to install the required Python libraries. You can install them using pip:
10+
11+
- pip install opencv-python
12+
- pip install numpy
13+
- pip install face-recognition
14+
15+
16+
## Usage
17+
18+
- Create a folder named 'Images' in the same directory as this script.
19+
- Add images of the individuals you want to recognize in the 'Images' folder.
20+
- The images should have only one face per image.
21+
- Run the script.
22+
23+
24+
## How it works
25+
26+
- The script loads the known face encodings from the 'Images' folder.
27+
- It captures video from the default camera.
28+
- For each frame of video, it detects faces and encodes them.
29+
- It compares the encodings of detected faces with the known face encodings.
30+
- If a match is found, it records the name of the recognized person and the timestamp in the 'Attendance.csv' file.
31+
- The video stream is displayed with rectangles around the recognized faces and their names.
32+
33+
## File Structure
34+
35+
-- Images: Store images of individuals you want to recognize.
36+
-- Attendance.csv: Stores attendance records with name, time, and date.

AirCanvas/readme.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
## Real-Time Color Drawing App
3+
4+
5+
This is a simple real-time color drawing application using OpenCV and Python. With this application, you can draw in various colors using your webcam. It detects the color of an object and allows you to draw with that color on the canvas.
6+
7+
## Features
8+
9+
- Choose from different colors (blue, green, red, and yellow) for drawing.
10+
- Clear the canvas with the "CLEAR" button.
11+
- Real-time color detection and drawing on the webcam feed.
12+
- Adjustable HSV (Hue, Saturation, Value) ranges for color detection.
13+
14+
15+
## Requirements
16+
17+
- Python 3
18+
- OpenCV (cv2) library
19+
- NumPy
20+
- Webcam
21+
22+
23+
## Usage
24+
25+
- Clone or download this repository to your local machine.
26+
27+
- Make sure you have Python and the required libraries installed.
28+
29+
- Run the Python script using the following command:
30+
31+
32+
python color_drawing_app.py
33+
34+
35+
A window will open showing your webcam feed and the color drawing options. You can use the "CLEAR" button to clear the canvas or select different colors for drawing.
36+
37+
- Adjust the HSV (Hue, Saturation, Value) trackbars to change the color detection parameters.
38+
39+
- To exit the application, press the "q" key.

Conway's Game of Life/readme.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
## Conway's Game of Life in Python
3+
4+
This is a simple implementation of Conway's Game of Life using Python and the Pygame library.
5+
6+
## Description
7+
8+
Conway's Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning its evolution is determined by its initial state, requiring no further input. The game is played on a grid of cells, each of which can be alive or dead. The game progresses in steps, with each step following a set of rules to determine the state of each cell in the next generation.
9+
10+
In this Python implementation, we've created a grid of cells on the screen. You can interact with the game by clicking on cells to bring them to life or kill them. Pressing the spacebar will start and stop the game's automatic progress. The game will evolve according to the rules of Conway's Game of Life.
11+
12+
## Prerequisites
13+
14+
- Python 3.x
15+
- Pygame library
16+
- You can install Pygame using pip:
17+
18+
19+
pip install pygame
20+
21+
22+
## Usage
23+
24+
- Clone or download this repository to your local machine.
25+
- Open a terminal or command prompt and navigate to the directory containing the code.
26+
- Run the game by executing python conways_game_of_life.py.
27+
28+
29+
## Controls
30+
31+
- Left mouse click: Toggle cell state (alive or dead).
32+
- Spacebar: Start or stop the automatic progression of the game.
33+
- Close the game window to exit.
34+
35+
36+
## Customization
37+
You can customize the game by modifying the following constants in the code:
38+
39+
- COLOR_BG: Background color.
40+
- COLOR_GRID: Grid color.
41+
- COLOR_DIE_NEXT: Color of cells that will die in the next generation.
42+
- COLOR_ALIVE_NEXT: Color of cells that will survive in the next generation.
43+
- TICK_SPEED: Speed of the game's progression (frames per second).
44+
- cells = np.zeros((60, 80)): Initial state of the grid. You can change the grid size and initial configuration here.

Dice-Simulator/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Dice Simulator
2+
3+
This is a basic dice simluator implementation game.

Dictionary-App/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Dictionary APP
2+
3+
This is a basic implementation of the dictionary app.
4+
5+
Note:
6+
7+
Following freatures are to be added here:
8+
9+
1- is to make this program in such a way that if word not exist then do something
10+
2- also if user enter wrong word by mistake (for example if user want to enter ""happy"" but type "Haappyy") then do something
11+
3- task number 2 is with get_close_matches() for difflib library
12+
4- then make GUI application of this

FaceRecgonition/readme.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
## Real-Time Face Detection using OpenCV and dlib
3+
4+
5+
## Introduction
6+
7+
This Python script captures video from your webcam and detects faces in real-time using the OpenCV library and the dlib face detection model.
8+
9+
## Getting Started
10+
11+
To get started, you'll need to have Python and the following libraries installed:
12+
13+
- OpenCV
14+
- dlib
15+
16+
You can install these libraries using pip:
17+
18+
19+
pip install opencv-python
20+
pip install dlib
21+
22+
23+
## Usage
24+
- Clone this repository or download the script to your local machine.
25+
- Ensure that your webcam is connected and accessible.
26+
- Open a terminal or command prompt and navigate to the directory containing the script.
27+
- Run the script using the following command:
28+
29+
python face_detection.py
30+
31+
The script will open your webcam and start detecting faces in real-time. Detected faces will be highlighted with rectangles, and a number will be displayed on each detected face to indicate its order.
32+
33+
## Exiting the Application
34+
35+
To exit the application, simply press the 'q' key on your keyboard while the window displaying the webcam feed is in focus.
36+
37+
## Dependencies
38+
OpenCV
39+
dlib

Number Guessing Game/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Number Guessing Game
2+
3+
This is a basic Number Guessing Game implementation .

QR Code/readem.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## QR Code generator
2+
3+
This is a basic QR generator code implementation.

Rock Paper Scissors Game/readem.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Rock Paper Scissor Game
2+
3+
This is a basic Rock Paper Scissor Game implementation.

SNAKE/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Snake game
2+
3+
This is a basic snake game implementation

0 commit comments

Comments
 (0)