Update README.md

This commit is contained in:
vishwesh5 authored and GitHub committed 2018-08-06 09:57:20 +05:30
1 parent 0fa6726942
commit 11d22bcb72
1 file changed
+5 -5
+5 -5
View File
@@ -1,8 +1,8 @@
# Multi Object Tracking using OpenCV
This repository contains the codes for **Multi Object Tracking using OpenCV**.
This repository contains the code for [MultiTracker : Multiple Object Tracking using OpenCV (C++/Python)](https://www.learnopencv.com/multitracker-multiple-object-tracking-using-opencv-c-python/) blog.
## Instructions for C++ code
1. Download the codes and extract the downloaded file, if required.
1. Download the code and extract the downloaded file, if required.
2. Create a `build` folder: `mkdir build && cd build`.
3. System specific instructions:
1. **For Windows Operating System**: Tell CMake to configure and generate project files in Visual Studio 14 x64 format.
@@ -10,17 +10,17 @@ Use `..` to look for CMakeLists.txt file in the parent folder of build directory
It will generate project files in Visual Studio 14’s format.
`cmake -G "Visual Studio 14 2015 Win64" ..`
2. **For Linux/MacOS**:
Tell CMake to configure and generate project files
Tell CMake to configure and generate project files.
`..` denotes that CMake should look for CMakeLists.txt file in the parent folder of build directory.
For Linux/MacOS cmake detects and uses the C++ toolchain installed on your system
It will most likely be gcc toolchain.
`cmake ..`
4. Now tell CMake to build project in Release mode: `cmake --build . --config Release`
5. When the build is completed, executables will be generated in `build\Release` folder or `build` folder itself.
6. Now go back to project directory (parent directory of build) and run the code: `./build/multiTracker`
6. Now go back to project directory (parent directory of build) and run the compiled script: `./build/multiTracker`
## Instructions for Python code
1. Download the codes and extract the downloaded file, if required.
1. Download the code and extract the downloaded file, if required.
2. Use `python multiTracker.py` to run the code.
## Tracker selection