HOGDescriptor checkDetectorSize()
Hello,
I am currently trying to import HOG features. I got them from here: http://benchmark.ini.rub.de/?section=...
Description says:
-> All images were scaled to 40x40 pixels using bilinear interpolation -> Cell size 5x5 pixels (cellsize_x = 5, cellsize_y = 5) -> Block size 2x2 cells (numcell_x= 2, numcell_y = 2) -> Blocks shifted by 5 pixels in both directions (descstride_x = 5, descstride_y = 5)
One folder contains multiple text files with float digets. I am importing them by reading line by line.
But I keep getting the error: "OpenCV: checkDetectorSize()" What does that mean?
When I build my own Featureset by using picture it works, but is very slow.
I am using EmguCV
we cannot help you with anything emgu specific (that's off-topic), but maybe you can look at how the size is calculated and cross check your params against that.
It's not EMGU specific. Get the same error via python. How do I import HOG Features, that are available via txt-file? I am currently importing it line by line and parse txt to float.
if it's a csv file you can use this