开源软件名称(OpenSource Name):jmrf/HOG-Pedestrian-Detector开源软件地址(OpenSource Url):https://github.com/jmrf/HOG-Pedestrian-Detector开源编程语言(OpenSource Language):MATLAB 77.8%开源软件介绍(OpenSource Introduction):HOG-Pedestrian-DetectorThis repository contains the code for a MATLAB implementation of a basic HOG + SVM pedestrian detector form my Computer Science Master thesis DisclaimerIf you are going to use this code, please read the I partially adapted this code-base to newer versions of MATLAB but is very likely you find discrepancies in how some MATLAB functions work. I am in general happy to help understanding the project if you ask nicely but since the implementation of the project is now several years old and MATLAB has evolved, some functions might behave differently and I won't be updating the project continuously nor answering about how to update the code to newer MATLAB versions. Requirements
InstallationPlease refer to MATLAB and libsvm documentation to install. DataRunThe project was developed on a Windows machine and now being resurrected on a Linux one, so you should be good in any platform as long as you can run MATLAB. Setting the environment
which -all svmtrain Which should show something like:
There are several entry points to the project, but here the two main ones are shown: TrainAssuming there's a model = train_svm("test", ["./models", "dataset/Train/pos" "dataset/Train/neg"]); EvalTo evaluate the just trained model: test_svm(model.test, ["dataset/Test/pos" "dataset/Test/neg"]); Note PCA versions of train / test[model, Ureduce] = train_svm_PCA("test_pca", ["./models", "dataset/Train/pos" "dataset/Train/neg"]);
test_svm_PCA(model.test_pca, Ureduce, ["dataset/Test/pos", "dataset/Test/neg"]); Known issues & contributionsOld MATLAB version used to concatenate strings by enclosing them between squared brackets but doesn't look like valid any longer. In that case you should use the path = ['folder', 'filename', '.extension'] % this is wrong!
path = strcat('folder', 'filename', '.extension') % this is right! If you enjoyed this repository and find things that are not working any longer, you are very welcome to open a PR with fixes and I'll happily introduce them. License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论