Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frame_Lab

Introduction:

This program allows screen snapshots, recording, along with various filters through the use of OpenCV.

Please note that this project was used as a lab for me to test out various possibilities of OpenCV.
Therefore, it has the minimum amount of UI integration and may have minor bugs that were not fully addressed.

How to Run:

  1. Clone this repo by using the following command in your desired repository:

    git clone https://github.com/JSLee-24/Frame_Lab.git

  2. Run by using the following command:

    python3 main.py
    You should now have the webcam screen, and the terminal available.

  3. To exit, press q on the frame or CTRL + C on the terminal.

Commands:

Action Commands:

There will be 5 different commands available as soon as the program runs.
These commands are to be typed while you are focused on your webcam screen.

  • (S) Take a snapshot
    • This command will prompt you to enter in the name for the new image in the terminal
    • This will then:
      • first create a folder called Images under the project directory if it does not exist
      • save the new image in the Images folder
  • (R) Record a video
    • The recording will begin the first time you press R
    • The recording will stop the second time you press R
    • This command will prompt you to enter in the name for the new video in the terminal
    • This will then:
      • first create a folder called Videos under the project directory if it does not exist
      • save the new video in the Videos folder
  • (D) Delete a file
  • (F) Apply a filter
  • (Q) Quit

Filters:

The following is a list of available filters.
To apply these filters, after choosing the filter action command (F), you must type the number of the filter into the terminal and press enter.

  • (1) Mirrors
  • (2) Grayscale
  • (3) Inverted
  • (4) Sepia Tone
  • (5) Gaussian Blur
  • (6) Canny Edge
  • (7) Pencil Sketch
  • (8) Pencil Sketch (Coloured)
  • (9) Vertical Flip
  • (10) Horizontal Flip
  • (11) Cartoon
  • (12) Glitch
  • (13) Emboss

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages