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

fix matlab bridge results #16

Open
jabooth opened this issue Aug 1, 2015 · 2 comments
Open

fix matlab bridge results #16

jabooth opened this issue Aug 1, 2015 · 2 comments

Comments

@jabooth
Copy link
Member

jabooth commented Aug 1, 2015

We have some kind of scaling issue that is happening, at least with yzt_iccv_2013.

@jabooth
Copy link
Member Author

jabooth commented Aug 2, 2015

@patricksnape I've started branch matlab to try and fix these issues.

So far, I've got this:
7ac74af

Which:

  • Moves landmark saving to behave like PTS files (flip XY-YX, +1 to matlab, -1 back to Python)
  • Converts the RGB unit image to a float greyscale in the yzt_iccv_2013 fit method (glancing through the fit method it seems like this is the required format?)

@grigorisg9gr
Copy link
Member

Why don't you use some interactive bridge with matlab instead of this workaround?
E.g. with something like https://pypi.python.org/pypi/pymatlab you don't need to export everything to a .mat file, import with scipy etc. You can call the m-script and return the outcome right in python.

I have used that for debugging in conversions matlab/python, so even if calling it should be fairly easy, let me know if you have any questions.

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