imkanghan / crowd-counting

Image Crowd Counting Using Convolutional Neural Network and Markov Random Field
34 stars 18 forks source link

[test script] #1

Open cryax opened 6 years ago

cryax commented 6 years ago

hey hankong, is there any script that run directly from input raw image to final count?

imkanghan commented 6 years ago

hi, cryax There is no direct script that can get the final count from the raw image, but I believe that it's not very difficult to write that script according to the existing scripts. I suggest you follow the following steps to achieve your goal,

  1. Extract features from raw image ( ExtractFeatures.m )
  2. Predict patch count ( patch_predict_SHT.py )
  3. Apply MRF and get the final count ( EvaluateSHT.m )
qilicun commented 6 years ago

Hi, Do you have any plans to drop the Matlab code and use pure python?

imkanghan commented 6 years ago

Hi, I haven't such plan for this project currently. I will try to make my future research about crowd counting easy to reproduce as much as possible.

apockill commented 6 years ago

I would like to chime in as well and say that a pure python implementation would be very helpful! :)