s-gupta / rcnn-depth

Learning Rich Features from RGB-D Images for Object Detection and Segmentation
BSD 2-Clause "Simplified" License
365 stars 150 forks source link

Not enough input arguments in EdgesDemo #8

Closed DaddyWesker closed 9 years ago

DaddyWesker commented 9 years ago

Hello,

Tried to launch demo. The next error has appeared.

"Error using edgesDetect (line 61) Not enough input arguments.

Error in edgesDemo (line 25) tic, E=edgesDetect(I,model); toc"

So, edgesDetect which you use in edgesDemo requires 3 arguments "I,model, ng", and in edgesDemo this function called with only 2 arguments "tic, E=edgesDetect(I,model); toc". What have to be in place of "ng", third input?

Thank you in advance.

s-gupta commented 9 years ago

edgesDemo is a demo function for the Structured Edges toolbox. Please look at run_all.m for how to run our RGB-D edge detector and look at scripts/script_edges.m for how to train the RGB-D edge detector.