678
questions
1
vote
0
answers
38
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 ...
0
votes
0
answers
30
views
Make video without select webcam
I am trying to make a video without having to select the camera and resolution through the form but I am not succeeding.
This way works but with the form.
private void button2_Click(object ...
-1
votes
1
answer
76
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
97
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 ...
0
votes
0
answers
46
views
ozeki camera is not saving current image
I have a camera device in camera device there is button when i press the button the image is save i have use the function for capering image videoDevice_SnapshotFrame but when i click on the camera ...
1
vote
0
answers
135
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 ...
0
votes
0
answers
99
views
Aforge.net when i save image with camera device the image is not saving image in original location and cutting
I have a camera device in device there is button in camera to capture the image I have having a issue when I capture the image with camera device the camera location is not in original size and image ...
0
votes
0
answers
25
views
Restrict AForge Picture Box View C#
if (pictureBox.Image != null)
{
BarcodeReader barcodeReader = new BarcodeReader
{
Options = new ZXing.Common.DecodingOptions
...
1
vote
0
answers
55
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
491
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
482
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
337
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
61
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
111
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
199
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
792
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
49
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
81
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
...
1
vote
0
answers
521
views
Video record with audio in wpf
I am developing a chat application in WPF .NET Framework 4.7.2.
I want to implement video recording functionality using the web camera of the PC.
Up to now, I have done this:
I use AForge.Video and ...
0
votes
1
answer
444
views
C# Fastest image resize routine for streaming video?
I am trying to write a simple C# Windows App to display streaming video from a local USB webcam. I am using AForge.NET, FilterInfoCollection, VideoCaptureDevice etc to put video stream into a standard ...
1
vote
1
answer
764
views
C# PictureBox: Memory leak when updating multiple times per second
I am using AForge to capture video from a camera and display it in a WinForms PictureBox. AForge supplies an event that gets triggered on every new frame--so, for my camera, 30 times per second.
I'm ...
1
vote
0
answers
126
views
AForge Camera in nor launching
I have a C# project, the project initiate the camera when needs to capture a picture, and then calls the save function to capture the image.
the code was working normally but now I don't know what ...
0
votes
1
answer
105
views
How can I use graphics method for AForge IntPoint truely?
I tried to write a code for detecting elips objects with Aforge blobcounter function but when I want to draw it with graphics I am getting an error.
The error is:
Argument 2:cannot covert from 'AForge....
0
votes
0
answers
2k
views
Alternatives to AForge.NET
I'm wondering if there are any good alternatives to AForge.NET. I want to use ML.NET in my project, but then this warnings occur.
0
votes
0
answers
153
views
How can I fix this error:System.ArgumentOutOfRangeException: 'Index was out of range.'
I am trying to write a shape detection algorithm using Blobcounter with Aforge.Actually I want to get number of all pixels on the edges of the objects with this code but I could not be successfull ...
0
votes
1
answer
549
views
aforge camera won't close, error "thread abort is not supported in this platform"
I am totally new to vb.net and I am trying to incorporate my webcam into the application that i am creating. I have successfully made it run until to the point that i want to close the camera and ...
0
votes
1
answer
354
views
C# Aforge - image is not consistent, some images are very bright most of them not
I'm trying to get a consistent image with Aforge but sometimes the image is very bright, most of the time it is good. If you look at the pictures you can see a very clear difference between the two. ...
0
votes
1
answer
88
views
Comparing Blobs or Basic Shapes
I'm trying to use blob detection to process an image. When a blob looks similar to a sample blob I want to split the logic but I'm having difficulty with comparing the two blobs.
I'm currently using ...
0
votes
0
answers
348
views
Delay in preview of webcam, FPS drop on live preview and In video recording, video get pixelated when user select high resolution(1920 * 1080 : 60FPS)
Issue 1: Delay in preview of webcam, FPS drop on live preview
On high resolution i am facing issue of delay in preview of webcam, FPS drop on live preview in AForge.Video.DirectShow(Version=2.2.5.0). ...
1
vote
1
answer
1k
views
Capture desktop with Aforge
I have seen various tutorial like this on how to make a video from webcam, show and record it.
What I would like now is to be able to do the same with the desktop so that I can cross-reference the ...
0
votes
0
answers
360
views
Writing on a bitmap not working for writing a frame with a forge
I need to output the video from a webcam to file with Aforge.
LocalWebCamsCollection = new FilterInfoCollection(FilterCategory.VideoInputDevice);
LocalWebCam = new VideoCaptureDevice(...
4
votes
1
answer
348
views
How to remove frames from a video file recorded with Aforge
I have to implement via software a CCTV circuit with AForge.
I can write a video file with
private VideoFileWriter FileWriter = new VideoFileWriter();
and write a new frame with
private void ...
0
votes
0
answers
303
views
Fastest way to convert incoming image data buffer to bitmap (using Winform C# and Aforge library)
I have a project and this I have two webcams that going to send frame and in then the program need to extract few lines colors in frames
I'm using Aforge library for this and i have edited the Aforge....
1
vote
0
answers
195
views
MJPEGStream NewFrame callback does not work on C#
I'm trying to get stream from IP camera using the Aforge Libraries but it does not work correctly. NewFrameReceived is never called. Here is my code (Win10, VS2017, C#, .Net Framework 4.5):
...
0
votes
1
answer
1k
views
AForge.NET: NewFrameEventHandler argument method not triggered
I am attempting to write a Windows Console program that is capable of acquiring imagery from a webcam or a virtual webcam, extracting a bitmap frame from the video source and saving the frame to the ...
0
votes
0
answers
265
views
Why do I have the error BadImageFormatException while running AForge.Video.FFMPEG?
I'm trying to edit videos using C#, I found the library AForge.Video.FFMPEG, which seems perfect : easy and complete enough for my use, but, when I try to run the code :
using AForge.Video.FFMPEG;
...
1
vote
1
answer
938
views
x86 32 bit support for Accord.video.FFMPEG
Accord version 3.8.2
I am using Accord, Accord.video, Accord.video.FFMPEG Dll's for capturing the screen, my code is compiled to ANYCPU, everything works fine in 64 bit machine, but I am facing issue ...
0
votes
1
answer
265
views
How to filter a specific colour with AForge
Im working with the library AForge and trying to change for example all green and yellow pixel to white. But red pixels should remain the same. I tried out some things but unfortunately didnt get it.
...
0
votes
0
answers
566
views
How to detect industrial camera?
I been trying to develop a software in C# to connect to the USB camera. It is an industrial camera from Toshiba with the model BU238B. I had try using machine vision library such as AForge and EmguCV ...
1
vote
0
answers
416
views
Why is embedded laptop webcam not firing NewFrameEvent using AForge or DirectShow
I have an embedded webcam on my laptop. I have another USB webcam. This USB webcam works well both with AForge in C# and DirectShow in C++. I would like to write applications using both of these ...
0
votes
1
answer
296
views
C# Aforge.net Showing camera feed while other app uses the same camera
My first question ever on SO, apologies if something is missing or wrong.
I currently have a WPF app that hooks onto a camera using Aforge.net and shows the feed.
However this does not seem to work ...
0
votes
1
answer
135
views
Fuzzy system with AForge C#
Hello I making fuzzy system in dll Aforge.
I made fuzzy interference system and the problem is sometimes I get error from the library in exception is like:
{"The numerical output in unavailable. ...
0
votes
0
answers
192
views
How to update Winforms picturebox on GUI from live HTML video feed?
I keep getting a "Parameter is not valid" error or a memory leak (and the picture doesn't update) when I run my code. I am trying to get frames from a local IP camera using AForge.Net. The ...
0
votes
1
answer
698
views
Aforge video - Camera is use by another device
I am using Aforge Video for accessing the camera of my computer. Things where good and working but my problem now is when an another application is using the camera first. The Start() method of Aforge ...
-1
votes
1
answer
358
views
How to solve the issue of JPEG live stream lagging?
I have written C# code of live streaming of IP camera (JPEG) in windows form application using AForge library. It is working but it's lagging too much.
Here is the code:
using System;
using System....
3
votes
1
answer
2k
views
Get current state of webcam in C#
I am trying to figure out how to check if a webcam/video capture device is already being used by another application without actually activating it.
My current approach is to use the AForge.NET ...
0
votes
1
answer
1k
views
Recording video from webcam with C# Accord .Net
I'm trying to record video from my webcam. For that i'm using Aforge and Accord.
I'm building it with windows forms.
The video source and video writer are:
private AForge.Video.DirectShow....
0
votes
0
answers
852
views
VB.net Aforge video capture - Memory is consumed and freezes the Camera
I wrote code using Aforge to capture the Video from the camera and its working fine. My problem is when I just start the Camera in the preview mode only without recording the camera (preview window) ...
0
votes
1
answer
916
views
Why is System.Windows.Forms.Timer stopping automatically when window is fulscreen or is large?
Following online samples, I have written qrcode web cam reader in c# uzing zXing and aForge libraries.
I have encountered very weird behavior of System.Windows.Forms.Timerin C#: I have dropped it on ...