Skip to main content

All Questions

Tagged with
-3 votes
0 answers
34 views

Processing frames from a video using OpenCvSharp make the cpu usage reaching 100%. is there a way to avoid the cpu from reaching that high usage? [closed]

this is the class code: i used the profiler to see where and when the cpu usage reach 100%. it happens on this lines: when reading: if (_videoCapture.Read(frame)) and when converting: return ...
Daniel Lip's user avatar
  • 11.2k
-1 votes
0 answers
43 views

how to use OpenCvSharp record video,10 minute per file

I use OpenCvSharp to record video, 10 minute per file,but the code I wrote must be somewhere wrong, when I see the video,the video takes 12 minutes 29 seconds.here is the code. using OpenCvSharp; ...
ying's user avatar
  • 1
0 votes
0 answers
30 views

MarshalDirectiveException Error while using opencv dll for unity

I'm trying to make unity show rtsp video using opencv. I made custom dll using c++, which uses opencv dll. What I need now is to use dll in unity to Display rtsp, but I'm getting some weird Error. Is ...
erin's user avatar
  • 1
0 votes
0 answers
17 views

Trying to generate a texture for a new UV set from the original UV set and texture, but would like to capture more of the texture to eliminate seams

As I said, I have a mesh that I decided to redo the UVs on, and in order to save time, I've stored the original UVs by face, as well as the new UVs to separate files. The code I have successfully ...
Digital_Utopia's user avatar
0 votes
0 answers
26 views

OpenCVSharp: Cv2 Methods seem to lead to uncaught errors in promise

I am working with OpenCVSharp in asp.net Blazor to continuously detect the edges of a document from a video. I am currently stuck getting an error with a message that tells me nothing about a problem ...
Johan Linck's user avatar
0 votes
1 answer
44 views

How to convert a OpenCvSharp Mat to a Windows.Graphics.Imaging.SoftwareBitmap efficiently?

I'm capturing images from a camera with OpenCvSharp as Mat objects. Now I'd like to show them as a preview in a WinUI3 application. So for this, I need to convert the Mat images to a SoftwareBitmap. I ...
Tobias's user avatar
  • 15
0 votes
1 answer
66 views

Partial errors computing affine transform with OpenCV

I've been working a lot with OpenPnP recently (which is great!), and have had my interest peaked enough to try and really understand it's workings. I am trying to produce a basic transformation of a ...
mountainred's user avatar
0 votes
1 answer
69 views

Detect a line with a certain width from an image using OpenCV

I have an image of pixels (1023 x 768). I would like to detect the line in that image, find its angle and position. I am working with C# and the package OpenCVSharp, but the language isn't of concern. ...
Standard_101's user avatar
1 vote
0 answers
41 views

How to Determine the Center of Two Curvilinear Lines and Display the Points on a Windows Form Picture Box using OpenCV?

I'm trying to find a way to determine the centre point between two lines, at different positions, using OpenCV in C#. In Roborealm, I achieved this using the edge_probe technique, as illustrated in ...
GRANDMAST3R5's user avatar
-1 votes
1 answer
210 views

Image detection using OpenCvSharp - C#

interested in computer vision and automation. Now I want to find a small image on another large image. For Python I have seen a large amount of code and everything just works for them. But, it doesn't ...
rinyasuper's user avatar
0 votes
1 answer
332 views

OpenCvSharp VideoCapture super slow upon Initialization

I am using OpenCvSharp's VideoCapture class to capture images from a camera, from which I use to display as a video stream. I am using this camera that is attached via USB. The problem that I have is ...
Jorge A.'s user avatar
2 votes
0 answers
88 views

Emgu Cv How To Stitch with GPU

I'm trying to stitch together 1000 tiled images together to create one large image. I've been trying to use Emgu CV, but I just need to the process to run faster. So I'm trying to use the GPU ...
bmurf17's user avatar
  • 105
0 votes
0 answers
28 views

'System.IO.FileNotFoundException' An uncatchable exception of type,Emgu.CV.World.dl loccurred in File '{0}' not found

//Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; ...
Enes Yılmaz's user avatar
0 votes
1 answer
204 views

How to convert OpenCvSharp.Mat to Emgu.CV.Mat?

I'm using OpenCVSharp for image processing, but now I also need some of the features of Emgu CV to detect faces in my images. I have the following minimal example: public static void DetectFace(...
FluffyBike's user avatar
  • 1,738
0 votes
1 answer
107 views

VS2022 'Could not load file or assembly 'Emgu.CV, Version=4.7.0.. located assembly's manifest definition does not match the assembly reference [closed]

I'm getting this error at runtime in a C# windows forms application after I replaced the EmguCV 4.7.0 library files with 4.6.0. I downgraded because 4.7.0 does not have support for CUDA yet. I did not ...
Mich's user avatar
  • 3,542

15 30 50 per page
1
2 3 4 5
97