https://github.com/ankhoa1212/computer-vision
This is a repository of computer vision techniques used on live video feed.
https://github.com/ankhoa1212/computer-vision
cli computer-vision opencv python
Last synced: about 2 months ago
JSON representation
This is a repository of computer vision techniques used on live video feed.
- Host: GitHub
- URL: https://github.com/ankhoa1212/computer-vision
- Owner: ankhoa1212
- Created: 2025-02-25T08:14:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-30T06:16:56.000Z (9 months ago)
- Last Synced: 2025-11-27T14:56:05.124Z (7 months ago)
- Topics: cli, computer-vision, opencv, python
- Language: Python
- Homepage:
- Size: 1.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Computer Vision
This repository contains code for computer vision techniques on live video feed.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Techniques](#techniques)
## Installation
Python3 is required to run this program. It can be installed from [here](https://www.python.org/downloads/) if needed.
To avoid dependency conflicts, it is recommended to use a virtual environment. You can create and activate one using the following commands:
On Windows:
```
python -m venv venv
venv\Scripts\activate
```
On macOS/Linux:
```
python3 -m venv venv
source venv/bin/activate
```
To install the necessary dependencies, run:
```
pip install -r requirements.txt
```
A video apparatus (such as a webcam) will be needed to run the program. A phone can also be used by using the [DroidCam app](https://droidcam.app/)
## Usage
To run the code, you can use the following command:
```
python main.py
```
Multiple methods can also be run in succession:
```
python main.py
```
### Running the object_detection script
#### Prerequisites
Before running the `object_detection.py` script, navigate to the object_detection folder
1. Navigate to the `object_detection` folder using the following command:
```bash
cd object_detection
```
2. Install the dependencies from `object_detection_requirements.txt`
```bash
pip install -r object_detection_requirements.txt
```
3. **Run the Script**:
Execute the `object_detection` script using:
```bash
python object_detection.py
```
## Techniques
This repository includes implementations of the following computer vision techniques:
- color masking
- contours
- sobel filter
- laplacian filter
- convolutional neural network