Problem with HogDescriptor in EMGU

General Discussion

Problem with HogDescriptor in EMGU

Postby silviagiordano » Wed Jun 27, 2012 8:08 am

Hi everyone! I'm developing an object detection for a project interested in robotics. I've trained an Hog descriptor to be able to detect some boxes... When I've tried to use the constuctor public
HOGDescriptor(
Size winSize,
Size blockSize,
Size blockStride,
Size cellSize,
int nbins,
int derivAperture,
double winSigma,
double L2HysThreshold,
bool gammaCorrection
) hog;

-> HOGDescriptor des = new HOGDescriptor(new Size(64, 128), new Size(16, 16), new Size(8, 8), new Size(8, 8), 9, 0, -1, 0.2, true);

with a winSize(64, 64) for use my vector of float in
hog.SetSVMDetector(vector)

Visual studio give me a "NullReferenceException"... but I've instantiated both hog than vector! So why? I've failed in writing the constructor?
silviagiordano
 
Posts: 4
Joined: Tue May 22, 2012 5:25 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest