All Projects → wk910930 → crowd_density_segmentation

wk910930 / crowd_density_segmentation

Licence: MIT license
The code for preparing the training data for crowd counting / segmentation algorithm.

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to crowd density segmentation

Dlcv for beginners
《深度学习与计算机视觉》配套代码
Stars: ✭ 1,244 (+5823.81%)
Mutual labels:  caffe, detection, segmentation
Caffe Model
Caffe models (including classification, detection and segmentation) and deploy files for famouse networks
Stars: ✭ 1,258 (+5890.48%)
Mutual labels:  caffe, detection, segmentation
Jacinto Ai Devkit
Training & Quantization of embedded friendly Deep Learning / Machine Learning / Computer Vision models
Stars: ✭ 49 (+133.33%)
Mutual labels:  caffe, detection, segmentation
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (+214.29%)
Mutual labels:  caffe, detection
Picanet
Stars: ✭ 35 (+66.67%)
Mutual labels:  caffe, detection
Fashion Parsing
Repository of my fashion-parsing project. This project is put on hold since I am doing another project now, but will debug if bugs are reported.
Stars: ✭ 50 (+138.1%)
Mutual labels:  caffe, segmentation
Segmentation keras
DilatedNet in Keras for image segmentation
Stars: ✭ 300 (+1328.57%)
Mutual labels:  caffe, segmentation
Maskyolo caffe
YOLO V2 & V3 , YOLO Combined with RCNN and MaskRCNN
Stars: ✭ 101 (+380.95%)
Mutual labels:  caffe, detection
Facemaskdetection
开源人脸口罩检测模型和数据 Detect faces and determine whether people are wearing mask.
Stars: ✭ 1,677 (+7885.71%)
Mutual labels:  caffe, detection
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (+871.43%)
Mutual labels:  caffe, detection
Caffe Yolo9000
Caffe for YOLOv2 & YOLO9000
Stars: ✭ 164 (+680.95%)
Mutual labels:  caffe, detection
MVDet
[ECCV 2020] Codes and MultiviewX dataset for "Multiview Detection with Feature Perspective Transformation".
Stars: ✭ 123 (+485.71%)
Mutual labels:  detection, pedestrian-detection
Jetson Inference
Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
Stars: ✭ 5,191 (+24619.05%)
Mutual labels:  caffe, segmentation
Drbox
A deep learning based algorithm to detect rotated object, for example, objects in remote sensing images
Stars: ✭ 379 (+1704.76%)
Mutual labels:  caffe, detection
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+1485.71%)
Mutual labels:  caffe, detection
BCNet
Deep Occlusion-Aware Instance Segmentation with Overlapping BiLayers [CVPR 2021]
Stars: ✭ 434 (+1966.67%)
Mutual labels:  detection, segmentation
Android Object Detection
☕️ Fast-RCNN and Scene Recognition using Caffe
Stars: ✭ 295 (+1304.76%)
Mutual labels:  caffe, detection
Cascaded Fcn
Source code for the MICCAI 2016 Paper "Automatic Liver and Lesion Segmentation in CT Using Cascaded Fully Convolutional NeuralNetworks and 3D Conditional Random Fields"
Stars: ✭ 296 (+1309.52%)
Mutual labels:  caffe, segmentation
Mobilenet Ssd
Caffe implementation of Google MobileNet SSD detection network, with pretrained weights on VOC0712 and mAP=0.727.
Stars: ✭ 1,805 (+8495.24%)
Mutual labels:  caffe, detection
Shadowless
A Fast and Open Source Autonomous Perception System.
Stars: ✭ 29 (+38.1%)
Mutual labels:  detection, segmentation

Crowd Density & Segmentation Prediction

This project is the implementation and extension of the previous work, which is based on patches. For more details, please refer to the original paper.

Citation

Please cite the original paper in your publications if it helps your research:

@inproceedings{zhang2015cross,
  title={Cross-scene crowd counting via deep convolutional neural networks},
  author={Zhang, Cong and Li, Hongsheng and Wang, Xiaogang and Yang, Xiaokang},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  pages={833--841},
  year={2015}
}

Requirements: software

Caffe and MATLAB 2014a or above are required. Notice: A modified version of Caffe is requried.

Installation

  1. Clone the repository
# Make sure to clone with --recursive
git clone https://github.com/wk910930/crowd_density_segmentation.git
  1. Build Caffe (Code is private for now)
# Currently the code is not allowed to be public.

Prepare training data

We will call the directory that you cloned $CROWD_ROOT. We have prepared a toy dataset called dataset_01, which is used to demonstrate how to generate training data. Place your own dataset(s) under the data for further research.

  1. Generate density map
    cd $CROWD_ROOT/scripts
  2. Convert to Leveldb
    • Training the model needs three leveldb datasets, i.e. data_db, regression_db and segment_db, which stores the frames, segmentation masks and density maps, respectively.
    • Converting to Leveldb needs the Caffe, which is private for now.
    # Notice:
    #   jpg_id is the file list contains all frame crops, which can be generated by the command `ls sub_frames/*.jpg`. It looks like:
    #       xxxxxxx01.jpg
    #       xxxxxxx02.jpg
    #       xxxxxxx03.jpg
    #       xxxxxxx04.jpg
    #       ...
    #   Similar to png_id and mat id.
    
    # Example:
    #
    # Convert frame crops to leveldb
    ./caffe/build/tools/convert_imageset.bin -backend leveldb /path/to/sub_frames/ jpg_id data_db
    # Convert segment crops to leveldb
    ./caffe/build/tools/convert_imageset.bin -backend leveldb -gray /path/to/sub_segs/ png_id segment_db
    # Convert density crops to leveldb
    ./caffe/build/tools/convert_matset.bin -backend leveldb -height 256 -width 256 -varname crop_dens /path/to/sub_density/ mat_id regression_db
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].