Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc Minor Fixes #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<samp>

# [Real-time-Vehicle-Dection-Python](https://kalebujordan.dev/real-time-vehicle-detection-using-python/)
# [Real-time-Vehicle-Detection-Python](https://kalebujordan.dev/real-time-vehicle-detection-using-python/)

Hi guys, This repository consist of a source code of script to detect cars in a video/camera frame and then draw rectangaluar boxes around them.
Hello everyone, This repository contains the source code of a script designed to detect cars in video or camera frames and draw rectangular boxes around them.

The **ML algorithms** used for detecting cars and bounding boxes coordinates is a pretrained cascade model [Haarcascade car](https://github.com/Kalebu/Real-time-Vehicle-Dection-Python/blob/master/haarcascade_car.xml).

Expand All @@ -14,7 +14,7 @@ The full article for this project is originally published on [my blog](kalebujor

## Getting started

Firstly we have to clone the project repository or download the zip of project and then extract it.
To begin, we need to clone the project repository or download the project's zip file and extract it.

```bash
git clone https://github.com/Kalebu/Real-time-Vehicle-Dection-Python
Expand All @@ -24,15 +24,15 @@ Real-time-Vehicle-Dection-Python ->

## Dependencies

Now once we have the project repo in our local directory, now lets install the dependecies required to run our script
Now that we have the project repository in our local directory, let's proceed to install the dependencies required to run our script.

```bash
pip install opencv-python
```

## Sample video

The sample video we used in this project is [**cars.mp4**](https://github.com/Kalebu/Real-time-Vehicle-Dection-Python/blob/master/cars.mp4) which will come as you download or clone the repository, to load a different video with different filename, you might wanna change the source code a bit.
The sample video we used in this project is [**cars.mp4**](https://github.com/Kalebu/Real-time-Vehicle-Dection-Python/blob/master/cars.mp4) which will come as you download or clone the repository. If you want to use a different video with a different filename, you may need to make some changes to the source code accordingly.

```python
def Simulator():
Expand Down Expand Up @@ -61,14 +61,15 @@ Now you can launch your scripts;
python app.py
```

If you use the provided sample video, your script is going to look as shown in the picture below;
If you use the provided sample video, the output of the script will resemble the image depicted below:;

<img src="sample.png" alt="drawing" width="400" height="200"/>

## Issues ?

Are you facing any issue while trying to run the script, well then raise an issue and I will do my best fixing it as soon as I can
If you encounter any issues while running the script, please feel free to raise an issue on the project repository. I will promptly address the problem and provide a solution as soon as possible. Your feedback is valuable, and I am committed to ensuring a smooth experience.

## Credits

All the credits to [kalebu](github.com/kalebu)
1. All the credits to [kalebu](github.com/kalebu)
2. Others