crowdcount-mcnn
crowdcount-mcnn copied to clipboard
Inference data preprocess
Hello!
I'm confused about the inference procedure since no demo code were given. Should I just input a gray image into the model or do things like normalization? Looking for replies~
hello there! Did you get your own test code which you can use the trained mcnn to count the number of people in a picture given by yourself? if you did,could you share any idea of this to me by repling this writing,it's very nice of you if do so! appreciation sended
@xuwanyan1998 it's pretty easy, just send the gray image into the model. The output is a gray map with values from 0-1. You can sum them up and get the estimated count :)
very nice to have your reply,i'm a greenhand in using python,and coding,and this is my first project,so i'm tring to understand what the meaning of the code and files,but i will make more effort in coding ,thx a lot for repling me , it's also my first time surfing the github,maybe alittle bit late for learning skills,anyway,thx a lot,it's very cheerful!