Why hog + pca to svm can not work

please, “is ok”, “cannot work” or “is failed” are useless to describe your problem.

try again, tell us what happens (or fails to do so), if there are errors, show us !

(also, why is this labelled object-detection ? you’re doing classification)