-
Notifications
You must be signed in to change notification settings - Fork 569
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
[BUG]Maui Video Surveillance is not working #897
Comments
Solution Implemented: I encountered a similar issue and managed to resolve it by following these steps:
With these steps completed, I was able to utilize These steps might help in resolving the issue you're experiencing with Maui Video Surveillance. Feel free to give it a try and let me know if you encounter any difficulties or need further assistance. |
this not working |
Solution Update:
1. Check Emgu.CV Installation:
Install-Package Emgu.CV -Version 4.5.1
Install-Package Emgu.CV.UI -Version 4.5.1 -Verify that these versions are compatible with your .NET Maui project. 2. Confirm Dependencies:
3. Sample Code for Emgu.CV Initialization:Here's an example of how you can initialize Emgu.CV within your .NET Maui application: using Emgu.CV;
using Emgu.CV.UI;
// Initialize Emgu.CV
CvInvoke.UseOpenCL = false; Review Error Messages:
Feel free to engage with the community for additional insights or share any updates. |
I try all of them In .Net Maui again same issue appear |
To better assist you with the issue related to "OpenCV: The library is compiled without video support. To use this module, please switch to the full Emgu CV runtime," could you please share relevant code snippets or configurations associated with your usage of Emgu.CV for video processing?Understanding the sections of your code or configurations interacting with Emgu.CV will greatly help in diagnosing the problem accurately. It will enable us to pinpoint potential areas requiring adjustments to resolve this issue.Could you kindly paste excerpts of code pertaining to Emgu.CV initialization or any segments invoking video support functions? This will allow for a more focused analysis of the specific problem you're encountering. |
CvInvoke.UseOpenCL = false; videoSurveillanceButton.Clicked += (sender, args) => Video Model Code:- private static IBackgroundSubtractor _fgDetector; |
Thank you for sharing the code snippet.
To potentially resolve this issue, consider the following steps: 1. Ensure Emgu.CV Configuration:
2. Check Emgu.CV Initialization:
3. Dependency Check:
4. Emgu.CV Configuration Adjustments:
Could you please provide additional code segments or configurations related to the 'VideoSurveillanceModel()' initialization or any sections interacting with video processing within Emgu.CV? This will help in pinpointing the exact area causing the issue. Additionally, it might be beneficial to double-check the installation steps and configurations related to Emgu.CV to ensure proper integration of video support. Feel free to provide more details or code snippets, as this will aid in diagnosing the problem accurately. We'll do our best to assist further once more information is available. This is all I can do. Thank you. |
You are using the mini runtime for MAUI: The mini runtime is only compiled with the Open CV Core and Imgproc module. It is not compiled with VideoSurveillance. The full "Emgu.CV.runtime.maui" package has the VideoSurveillance, the full runtime is only available under the commercial license. If you have the commercial license, you can setup to use the commercial nuget server by following this instructions: Once the commercial nuget repository is setup, you can install the "Emgu.CV.runtime.maui" nuget pacakge (please remove Emgu.CV.runtime.maui.mini" package first). Once the full runtime package is installed, the error message "OpenCV: The library is compiled without video support. To use this module, please switch to the full Emgu CV runtime." will disapear. |
Describe the bug
Maui Video Surveillance is not working that give this Error
"OpenCV: The library is compiled without video support. To use this module, please switch to the full Emgu CV runtime."
** .Net version **
Windows (.Net Maui Version-7)
"Emgu.CV" Version="4.8.1.5350"
"Emgu.CV.Bitmap" Version="4.8.1.5350"
"Emgu.CV.Models" Version="4.8.1.5350"
"Emgu.CV.runtime.maui.mini" Version="4.8.1.5350"
"Emgu.CV.runtime.windows" Version="4.8.1.5350"
"Emgu.CV.UI" Version="4.8.1.5350"
CPU Architecture
Any CPU
The text was updated successfully, but these errors were encountered: