Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with running the code #1

Open
llyydd007 opened this issue Jun 8, 2015 · 2 comments
Open

problem with running the code #1

llyydd007 opened this issue Jun 8, 2015 · 2 comments

Comments

@llyydd007
Copy link

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

@jbhuang0604
Copy link
Owner

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.

@llyydd007
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants