Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc3a99c

Browse files
Update README.md
1 parent 0240c1f commit dc3a99c

File tree

1 file changed

+9
-0
lines changed
  • BasicPythonScripts/Invisibility Cloak

1 file changed

+9
-0
lines changed

‎BasicPythonScripts/Invisibility Cloak/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Aim
44
Hello EVERYONE,lets do some magic using computer vision. I hope you all know about ‘invisible cloak’, this will make you invisible. We will see how we can do the same magic trick with the help of computer vision. I will code with python and use the opencv and numpy library.
55

6+
# Purpose
7+
Our purpose is to become Invisible using a cloak with the help of various Python libraries.
8+
69
# Setup instructions
710

811
1. Install the latest python 3.5 and above and once you finish installing it .
@@ -17,6 +20,12 @@
1720

1821
firstly the program when you run it it will capture the background image and then. When you put a red colored colored cloth in front of camera the program will detect the colored cloak using color detection and segmentation algorithm . And the program will generate a mask to determine the region in the frame corresponding to the detected color(red in this case). Program will refine this mask and then use it for segmenting out the cloth from the frame. Program will replace the pixels value of the detected red color region with corresponding pixel values of the static background.
1922

23+
# Compilation Steps
24+
25+
1. Capture and store the background frame
26+
2. Detect the defined color using color detection and segmentation algorithm.
27+
3. Segment out the defined colored part by generating a mask.
28+
4. Generate the final augmented output to create a magical effect.
2029

2130

2231

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /