SelfExSR icon indicating copy to clipboard operation
SelfExSR copied to clipboard

problem with running the code

Open llyydd007 opened this issue 9 years ago • 2 comments

Hello, The cvpr paper is an excellent work and I tried to run the code. However, it appears errors as follows. ??? Undefined variable "vision" or class "vision.ShapeInserter".

Error in ==> sr_extract_plane>sr_detect_plane_from_vp at 179 shapeInserter = vision.ShapeInserter('Shape', 'Lines','BorderColor', 'White');

Error in ==> sr_extract_plane at 48 modelPlane = sr_detect_plane_from_vp(vpData, img, opt);

Error in ==> sr_demo at 38 modelPlane = sr_extract_plane(filePath.dataPath, filePath.imgFileName, opt);

Error in ==> sr_demo_batch at 63 imgHiRes = sr_demo(filePath, opt);

It seems some code were missing or I made some mistakes to miss something. Would you help me solve it .Thank you very much! @jbhuang0604

llyydd007 avatar Jun 08 '15 05:06 llyydd007

Hi,

Thanks for letting me know. In this case, you need the Computer Vision Toolbox from Matlab (http://www.mathworks.com/products/computer-vision/). I will try to remove such external dependencies in the next update.

jbhuang0604 avatar Jun 08 '15 05:06 jbhuang0604

Thank you very much, Jia-Bin. I install matlab2003a and it turns out to be OK. Thank you!

llyydd007 avatar Jun 18 '15 02:06 llyydd007