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

Application Crash after clicking Start #57

Closed
Super-JoConnell opened this issue Apr 7, 2020 · 3 comments
Closed

Application Crash after clicking Start #57

Super-JoConnell opened this issue Apr 7, 2020 · 3 comments

Comments

@Super-JoConnell
Copy link

haven't managed to get this program to run correctly since downloading,
i hit the start button then pops up the message
fault

heres the log:

2020-04-07 20:16:29,306 [1] INFO MarioMaker2OCR.Form1 - Start Application - version: 1.0.69
2020-04-07 20:16:31,487 [1] INFO MarioMaker2OCR.Form1 - Start Web Server on http://localhost:3000/
2020-04-07 20:16:31,588 [1] ERROR MarioMaker2OCR.Form1 - Error starting video device: The type initializer for 'Emgu.CV.CvInvoke' threw an exception.
2020-04-07 20:16:31,591 [1] DEBUG MarioMaker2OCR.Form1 - at Emgu.CV.CvInvoke.cveVideoCaptureCreateFromDevice(Int32 index, API apiPreference)
at Emgu.CV.VideoCapture..ctor(Int32 camIndex, API captureApi)
at MarioMaker2OCR.VideoProcessor.createCaptureDevice(Int32 device, Size captureResolution)
at MarioMaker2OCR.VideoProcessor..ctor(Int32 device, Size resolution)
at MarioMaker2OCR.Form1.startButton_Click(Object sender, EventArgs e)

my OP system is win 10 1903 enterprise N 64bit

let me know if you need any more info cheers

@Super-JoConnell
Copy link
Author

managed to resolve the issue, because my system is windows "N" this is a version that doesn't have windows media player installed, i discovered that the ocr program requires the media player version as it uses some of it's relative files as dependencies, i had to install the media feature pack for window N versions to get the required files, once the media feature pack was installed (downloaded from Microsoft's website) the ocr program started working as intended
yaaassssssss

@dram55
Copy link
Owner

dram55 commented Apr 8, 2020

Hey @dj-modo thanks for figuring this out! I didn't get a chance to look at it.

I will add this to our readme

@Super-JoConnell
Copy link
Author

i've changed over my user name to my streaming alias as i'm a retired dj and don't go by dj-modo anymore if you'r wondering why the name change

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