SelfExSR
SelfExSR copied to clipboard
problem with running the code
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
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.
Thank you very much, Jia-Bin. I install matlab2003a and it turns out to be OK. Thank you!