You can get the greenback capture using your normal webcam.
- OS Windows, macOS or Linux
- Python 3.7
- Camera device.
- Only x86
The software using DeepLabv3 model with tensorflow. You can download pre-trained model from google. See this site
$ wget https://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/deeplabv3_257_mv_gpu.tflite
$ git clone https://github.com/masato-ka/gb-cam.git
$ cd gb-cam
$ pip install .[platform]
$ cp <pre trained model path> .
- You can choose platform from windows, osx and linux
$ cd gb-cam
$ gbcam
- Options
option | Description | Default |
---|---|---|
-m(--model) | Path to the model path. | deeplabv3_257_mv_gpu.tflite |
-c(--camera) | Camera device id. | 0 |
-w(--width) | Camera device id. | 640 |
-h(--height) | Camera device id. | 420 |
-fps(--fps) | Camera device id. | 30 |
Camera startup and show window.
- 2020/04/20 Alpha First Relase.
If you find bug or some improvement ideas, please Fork and send pull request.
- masato-ka(jp6uzv@gmail.com)
- MIT License