The toolkit to autolabal dataset for instance segmentation
Ozeu
Ozeu is the toolkit to autolabal dataset for instance segmentation. You can generate datasets labaled with segmentation mask and bounding box from the recorded video files.
Installation
Requirements
Example installation command for cuda11.1.
pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
pip install mmcv-full==1.3.5 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
pip install git+https://github.com/open-mmlab/[email protected]
git clone [email protected]:xiong-jie-y/ozeu.git
cd ozeu
pip install -e .
Usage
1. Record Video
I recommend record video with the camera where you want to run detector.
For webcam, you can use command like this.
ffmpeg -f v4l2 -framerate 60 -video_size 1280x720 -i /dev/video0 output_file.mkv
I recommend to place the object to record in a desk or somewhere on simple texture. That will reduce error rate.