-
Notifications
You must be signed in to change notification settings - Fork 132
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
Exception in WebcamFacePose sample #87
Comments
perhaps, temp Mat is 8bit channel sent from webcam. But I never seen 8 bit channel webcam. |
I am using Logitech C920. |
Oops... I still see the same exception randomly on the same line of code. This method is called by another thread.
|
@jmtaijiquan I run WebcamFacePose once again for 10 min. Could you show me all source code occur problem if you can? |
Summary of your issue
The sample code of WebcamFacePose throws exception randomly.
Environment
Windows .NET 4.6.1
What did you do when you faced the problem?
Run the application for multiple times and the application will throw exceptions randomly: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
What did you intend to be?
I modified the code with data type "Byte" for method call Dlib.LoadImageData(). The application seems working fine now.
The text was updated successfully, but these errors were encountered: