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

Is this program support linux? #18

Open
kennyfs opened this issue Apr 5, 2020 · 5 comments
Open

Is this program support linux? #18

kennyfs opened this issue Apr 5, 2020 · 5 comments

Comments

@kennyfs
Copy link

kennyfs commented Apr 5, 2020

I tried it, but it seems to be not working.

@timotheeg
Copy link
Contributor

@kennychenfs OCR detection should work fine on linux (it's python after all) BUT, there is no window capture method for linux's windowing systems implemented at this moment. Feel free to add one if you'd like.

If you are using an input device from a real NES, you might be able to use the OpenCV capture class.

@alex-ong
Copy link
Owner

alex-ong commented Apr 5, 2020

Are you a programmer? If not then it's probably going to be hard to get this running...

@kennyfs
Copy link
Author

kennyfs commented Apr 5, 2020

Yes, but I'm not familiar with video process at all.

@alex-ong
Copy link
Owner

alex-ong commented Apr 6, 2020

I'm glad you're a developer kenny!
Use OpenCV capture class to get a video stream first.

I believe it's config.ini -> [calibration][capture-method] = OPENCV
Then in calibrate.py, choose which device it is (0-> num_devices).

After that, calibrate as per normal; then close it and run main.py. You might want to uncomment some parts of main.py to see if the output is correct.

@alex-ong
Copy link
Owner

alex-ong commented Jul 2, 2020

I've booted it in linux and the main problem is window-name results in 10+ duplicates. E.g. "OBS" will result in 10 windows, and the current implementation picks the first one. This is problematic of course...

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

3 participants