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

ImportError: No module named win32api #14

Open
himanshu9345 opened this issue Oct 12, 2019 · 1 comment
Open

ImportError: No module named win32api #14

himanshu9345 opened this issue Oct 12, 2019 · 1 comment

Comments

@himanshu9345
Copy link

did you use windows for developing and testing this library?
I am integrating this package in my one of my project but I am facing an issue with that.
win32api is library only for windows I think it's not supported in Ubuntu, can you guide me how did you test this project?

@gorchard
Copy link
Owner

Correct, this is for automatically detecting the resolution of the screen in lines 265-266. Which is useful for calibration.
screen_width_pixels = GetSystemMetrics(0)
screen_height_pixels = GetSystemMetrics(1)
If you manually write the screen size, you should be able to comment out the import line without any trouble.

I should also note this is very old code that isn't really used or supported anymore. Even my own lab now uses the event-based vision ROS library. Take a look at the "Software" section at https://github.com/uzh-rpg/event-based_vision_resources for some useful tools.

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