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

install problems #1

Open
stef-k10 opened this issue Jul 18, 2023 · 5 comments
Open

install problems #1

stef-k10 opened this issue Jul 18, 2023 · 5 comments

Comments

@stef-k10
Copy link

Hi Ethan,

1st of all thank you for sharing camera_match. It's a great tool. I've used colab and the results are good.
What I want to do is create a script that detects color charts, create csvs and pipe that data into camera_match to create LUTs or 3x3 matrices.
For this I have to get camera_match to work outside of colab, and I'm running into issues. (I'm on macOS)

1/ When I run: pip3 install camera_match[RBF], I get: no matches found: camera_match[RBF]
2/ When I run: pip3 install camera_match, all requirements are "satisfied", but when I execute matrix.py (matrix.txt attached) I get an OSError (output.txt attached too.)

Do you have any idea what could be going wrong?

Sorry ask for help about something that must be a basic mistake on my side, but It's been a few days I'm trying to get this to work with no luck.

Thank you!
Stephane

matrix.txt
output.txt

@ethan-ou
Copy link
Owner

Hi Stephane, there was indeed something I could change with the package to manage this. I built a new test release for you to see if this resolves the issue. Have a go at installing this: pip install -i https://test.pypi.org/simple/ camera-match. If it works I'll push this up to a real release.

For context, the RBF module I believe doesn't work on MacOS because the underlying library doesn't have a version built for it. It only works on Windows and Linux. But you should in theory still be able to use the rest of the library even if this isn't installed.

Feel free to ask any questions by the way!

@stef-k10
Copy link
Author

stef-k10 commented Jul 19, 2023 via email

@stef-k10
Copy link
Author

stef-k10 commented Jul 19, 2023 via email

@ethan-ou
Copy link
Owner

That's a shame. I'll need to actually test it on a Mac to get a fix for you, but in the meantime you can set the size of the LUT exported like so:

matrix.export_LUT(path="LUT_name.cube", size=65)

You definitely don't need to load it on your own computer just to accomplish this.

@stef-k10
Copy link
Author

stef-k10 commented Jul 19, 2023 via email

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