schwittlick / ofxDarknet

darknet neural network addon for openFrameworks
MIT License
496 stars 89 forks source link

feature detection + memory leak fix #20

Closed genekogan closed 7 years ago

genekogan commented 7 years ago

two things bundled here:

1) simple fix of memory leak in yolo, cleaning up pointers for boxes and probs. should run more smoothly now.

2) yolo detections now come with feature vectors (length 1024) from the second to last layer of yolo9000.weights. these can be used for similarity calculations and all the other stuff.

i don't see any immediate reason why these wouldn't work with windows/linux, but we should check first before pushing it to master.