liulei2776 / crowd_group_profile Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amandajshao/crowd_group_profile
Matlab code for our CVPR 2014 work "Scene-Independent Group Profiling in Crowd".
This project forked from amandajshao/crowd_group_profile
Matlab code for our CVPR 2014 work "Scene-Independent Group Profiling in Crowd".
Source code for Scene Independent Group Profiling in Crowd. %======================= Main functions ========================% 1, main_gr.m If you want to run code for one video, from group detection to group descriptor, please run this main function. 2, main_video.m If you want to run code for multi-videos, from group detection to group descriptors, and then video classification, please run this main function. 3, main_video_class.m This is for directly checking the classification results with saved middle results. %====================== Functions for each part ================% 1, main_gr_detection.m Main function of group detection for one specific group and check the result 2, main_video_detection.m Main function of group detection for multi-videos 3, main_gr_collectiveness.m/ main_gr_stability.m/ main_gr_uniform.m/ main_gr_conflict.m/ main_size.m Core function of group descriptor for one video. 4, main_video_collectiveness.m/ main_video_stability.m/ main_video_uniform.m/ main_video_conflict.m+ main_video_BoW.m/ main_video_size.m Core function of group descriptors for multi-videos ("Collectiveness","Stability","Uniform","Conflict", "GroupSize") %======================= Relevant functions and instructions ====================% 1, cohGr_det.m Core function of group detection algorithm. It follows algorithm of 4 steps in the paper: step1: generate coherent filtering clusters [fun_CF.m] step2: identify anchor tracklet [fun_anchorTrk.m] step3: discover seeding tracklets [fun_groupInit.m] for learning CT prior [fun_kf.m] step4: group refinement [fun_groupRef.m] 2, Details of group detection can be found in "CoheGroupDetect" folder 3, Details of group descriptors can be found in "descriptor" folder 4, Some utility functions are included in "util" folder. 5, No mex need before running code, just add "CoheGroupDetect", "descriptor", and "util" folder as well as their subfolders to the path. 6, One example image sequence is provided in "1_8_groupSplit-festivalwalk_1_2-1". You can first run main_gr_detection to get group detection results, the collective transition prior A and other elements for group descirptor computation. 7, In this version, I put 5 descriptors separatively in 5 m-files. It is easy to join them together by yourself. 8, There are two ground truth file and one video information file used in the code, they are - gt_labels.mat: groundtruth for video labels - gt_videoName_bool.mat: for leave-one-out testing - video_info_t0.xls: video information [video name,the video length, video size, video source, start time for group descriptor computation, end time for group descriptor computation] ----------------------------------------------------------------------- July. 3, 2014, Jing Shao If you use our code, please cite our paper: Jing Shao, Chen Change Loy, and Xiaogang Wang. Scene-Independent Group Profiling in Crowd. CVPR, 2014.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.