671 questions
1 vote
0 answers
55 views
How to identify and extract an image from a magazin page?
I have the challenge to scan pages from 100-year-old magazines and making them accessible to a wider audience. I have to extract the texts (a typical OCR task) and separate out the images and save ...
-1 votes
1 answer
135 views
aforge.video.directshow. "GetDevicesOfCat" not working
Using GetDevicesOfCat in dot net code to enumerate the web cameras. I enumerated the video devices connected to the computer and when I find the one I want i open the one I want with opencvsharp ...
0 votes
1 answer
137 views
WPF Out of memory error in a QR Code Scanner
I have attempted making a WPF QR Code Scanner Page using AForge.Video.DirectShow package to implement the video capture which uses an Image in the XAML side to display it. The memory usage of the ...
1 vote
0 answers
165 views
I have an issue in my C# application and get an exception
I am using two package afroge and ozeki. In form load of afroge, when I click on the device's button, I want to load the Ozeki and capture a picture. After capturing the picture, it should load in the ...
1 vote
0 answers
87 views
Aforge Image Capture Issue
I create a Image capture program using Aforge library. this is a very basic program. when click of a button web camera activated and show image in to Picture box in c# windows application. it ...
0 votes
1 answer
1k views
.NET MAUI WEB CAM PREVIEW
I am new to .dotnet world. I am trying to stream the web cam on my maui screen (Windows Only) . The problem is default MAUI function to do this job is using MediaPicker CaptureAyncPhoto method which ...
0 votes
1 answer
773 views
why RTSP Video url is showing no Video in my Picturebox
I'm trying to implement RTSP url for live view of camera with AForge.Video.DirectShow; here's my code private VideoCaptureDevice videoSource; public camtest3() { ...
1 vote
1 answer
671 views
C# AForge huge memory consumption
After a lot of research I turn to you for help as I don't know what to do anymore. I am using AForge VideoCaptureDevice to show the camera in picturebox. However the memory consumption is pretty high ...
0 votes
0 answers
387 views
Why cant I assign Bitmap to Image.Source? [duplicate]
void VideoCaptureDevice_NewFrame(object sender, NewFrameEventArgs eventArgs) { pictureBox1.Source = (Bitmap)eventArgs.Frame.Clone(); } on Windows Form this works ...
0 votes
1 answer
72 views
Converting white pixel to any over color with aforge/setpixel
i have the following code in vb.net to convert a single pixel to any other color. The chosen parameter inside of setpixel are for test purposes. InvoiceImage.SetPixel(0 , 0, color.FromArgb(30, 30, 30))...
0 votes
0 answers
134 views
Aforge PictureBox throws "System.InvalidOperationException: 'The object is currently in use elsewhere.'"
Aforge PictureBox throws "System.InvalidOperationException: 'The object is currently in use elsewhere.'" when I resize or move the application window. In some situations it throws an ...
0 votes
2 answers
216 views
Is there a parser for solving equation with unknowns in AForge Genetic .NET Framework?
I have to find parser for solving equation with unknows. User enters two numbers and the parser parses equation to solve. For example: Equation: x^3 + y^2 + sin60° User input: x=4, y=2 It have to be ...
4 votes
1 answer
1k views
C# AForge.Video decoding MJPEG stream over websockets
I'm trying to display an MJPEG video stream on my WPF C# application. The MJPEG decoder library I'm using is AForge.Video. So far I've managed to display video streamed over http with this: using ...
0 votes
0 answers
61 views
Collecting white dots from completely dark image
I am making gamma-spectrometer from webcam. Its matrix covered in foil and image its getting completely dark, but sometimes cosmic/gamma rays or another particle hits matrix and creates a white dot, ...
0 votes
0 answers
89 views
How to highlight the span of a specific color area?
I have a code that finds a specific color area private readonly Color _from20 = Color.FromArgb(254,254, 244); private readonly Color _to20 = Color.FromArgb(255, 255, 255);//set color range ...