- Based on numpy, OpenCV, picking the best from each of them.
- Simple, flexible API that allows the library to be used in any computer vision pipeline.
- Easy to extend the library to wrap around other libraries.
- Easy to extend to other tasks.
- Supports python 2.7-3.7
- Easy integration with PyTorch.
- Supports extraction of people on segmented images.
- clone the repository
git clone https://github.com/nemodrive/semantic-data-augmentation.git
- download Cityscapes Dataset from Cityscape Dataset.
- create a two columns CSV file with original image path and coresponding segmented image path (one example is in resources/good_train_fine.txt)
- create your own dataset (similar to Cityscape Dataset), having the original image and segmented road of that
- have fun :)
- Install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
- Clone the repository
git clone https://github.com/nemodrive/semantic-data-augmentation.git
- Go to extract_people.py
cd scripts
- Run extract_people.py
python extract_people.py <path_to_CSV_file>
- You can install roadpackage using pip command
pip install git+https://github.com/nemodrive/semantic-data-augmentation.git
- Import in your file
from roadpackage.road import overlay_people_on_road