All Projects → jagin → detectron2-pipeline

jagin / detectron2-pipeline

Licence: MIT License
Modular image processing pipeline using OpenCV and Python generators powered by Detectron2.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to detectron2-pipeline

Acid.Cam.v2.OSX
Acid Cam v2 for macOS distorts video to create art.
Stars: ✭ 91 (+16.67%)
Mutual labels:  video-processing
glip-lib
An OpenGL Image Processing Library (in C++/GLSL).
Stars: ✭ 14 (-82.05%)
Mutual labels:  video-processing
mux-python
Official Mux API wrapper for python projects, supporting both Mux Data and Mux Video.
Stars: ✭ 34 (-56.41%)
Mutual labels:  video-processing
Entity
EntitySeg Toolbox: Towards Open-World and High-Quality Image Segmentation
Stars: ✭ 313 (+301.28%)
Mutual labels:  detectron2
FunCrop
Video Split Effect: a lots of transition effect in a video.
Stars: ✭ 42 (-46.15%)
Mutual labels:  video-processing
pyanime4k
An easy way to use anime4k in python
Stars: ✭ 80 (+2.56%)
Mutual labels:  video-processing
FFCreatorLite
一个基于node.js的轻量极速短视频加工库 A lightweight and fast short video processing library based on node.js
Stars: ✭ 155 (+98.72%)
Mutual labels:  video-processing
ion-avp
Audio/Video Processing Service
Stars: ✭ 55 (-29.49%)
Mutual labels:  video-processing
video-summarizer
Summarizes videos into much shorter videos. Ideal for long lecture videos.
Stars: ✭ 92 (+17.95%)
Mutual labels:  video-processing
seq2seq temporal attention
Generating Video Description using Sequence-to-sequence Model with Temporal Attention
Stars: ✭ 30 (-61.54%)
Mutual labels:  video-processing
PororoQA
PororoQA, https://arxiv.org/abs/1707.00836
Stars: ✭ 26 (-66.67%)
Mutual labels:  video-processing
MPViT
MPViT:Multi-Path Vision Transformer for Dense Prediction in CVPR 2022
Stars: ✭ 193 (+147.44%)
Mutual labels:  detectron2
vlog action recognition
Identifying Visible Actions in Lifestyle Vlogs
Stars: ✭ 13 (-83.33%)
Mutual labels:  video-processing
Image Processing
Image Processing techniques using OpenCV and Python.
Stars: ✭ 112 (+43.59%)
Mutual labels:  video-processing
Super-Stitch
一款视频超级拼接软件
Stars: ✭ 28 (-64.1%)
Mutual labels:  video-processing
ShaderView
ShaderView is an Android View that makes it easy to use GLSL shaders for your app. It's the modern way to use shaders for Android instead of RenderScript.
Stars: ✭ 53 (-32.05%)
Mutual labels:  video-processing
pi-asciicam
A live stream ASCII webcam server for Raspberry Pis using websockets, written in go.
Stars: ✭ 18 (-76.92%)
Mutual labels:  video-processing
lecture-demos
Demonstrations for the interactive exploration of selected core concepts of audio, image and video processing as well as related topics
Stars: ✭ 12 (-84.62%)
Mutual labels:  video-processing
looking-to-listen-at-cocktail-party
Looking to listen at cocktail party
Stars: ✭ 33 (-57.69%)
Mutual labels:  video-processing
mux-go
Official Mux API wrapper for golang projects, supporting both Mux Data and Mux Video.
Stars: ✭ 69 (-11.54%)
Mutual labels:  video-processing

Detectron2 pipeline

Modular image processing pipeline using OpenCV and Python generators powered by Detectron2.

For detailed description how to construct image processing pipeline using OpenCV and Python generators read the following Medium stories in order:

Setup environment

This project is using Conda for project environment management.

Setup the project environment:

$ conda env create -f environment.yml
$ conda activate detectron2-pipeline

or update the environment if you git pull the repo previously:

$ conda env update -f environment.yml

Install Detectron2 in a folder one level above the detectron2-pipeline project folder

$ cd ..
$ git clone https://github.com/facebookresearch/detectron2.git
$ cd detectron2
$ git checkout 3def12bdeaacd35c6f7b3b6c0097b7bc31f31ba4
$ python setup.py build develop

We checkout 3def12bdeaacd35c6f7b3b6c0097b7bc31f31ba4 commit to ensure that you can use the code out of the box with this repo.

If you got any problems with Detectron2 installation please refer to INSTALL.md.

Demo

Run the command to execute inferences on images from the selected folder:

$ python process_images.py -i assets/images/friends -p

By default the instance segmentation model is used from configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml. You can try other models with --config-file option, for example:

$ python process_images.py -i assets/images/friends -p --config-file configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x.yaml

For video processing run:

$ python process_video.py -i assets/videos/walk.small.mp4 -p -d -ov walk.small.mp4

Tests

pytest is used as a test framework. All tests are stored in tests folder. Run the tests:

$ pytest

Resources and Credits

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].