The Easiest Way To Do Object Detection in C#

  Рет қаралды 23,236

Programming With Chris

Programming With Chris

Күн бұрын

Пікірлер: 34
@ProgrammingWithChris
@ProgrammingWithChris 2 жыл бұрын
Thanks for watching! If you have anything else in the OpenCV library that you'd like to see done in C#, please let me know! 🕘Timestamps: 0:00 - Video Start 00:51 - The Haar Cascade Classifier Code 05:39 - Haar Cascade Classifier Demo 06:49 - The YOLO Object Detection Algorithm in C# 27:31 - YOLO Object Detection Demo
@ozzietradie6514
@ozzietradie6514 2 жыл бұрын
objection detection is pretty powerful.When combined with a box around the target, (simple logic "like when box A meets box B" do something) for example object A is a beer glass object B is the table when A rectangle intersects B rectangle order another beer.
@s1mplename
@s1mplename 5 ай бұрын
why tho. whats ur point
@RaabStephan
@RaabStephan 2 жыл бұрын
This is really cool. Would be cool to use OpenCV to do apriltag detection and tracking. You could even have the apriltags read different colors (a red code, a blue code, a green code) and then based off of the template you could draw the correct color around the object as you're tracking it.
@Ny_babs
@Ny_babs 7 ай бұрын
how are you setting your camera to be in source for the analysis? I think I missed that step somewhere. Great vid!
@jajnelumstransport2624
@jajnelumstransport2624 Жыл бұрын
how would I get the name from of the detected object and store it in a value. Thanks.
@AJ93-lx6on
@AJ93-lx6on 7 ай бұрын
can you also do tutorial on manual train a model and then add that to project
@atincuzun
@atincuzun 2 жыл бұрын
hi chris, great video but i still have some questions in emgucv. i am having some troubles when i try to train custom model for detection. emgucv gives me error "number of input channels should be multiple of 3 but got 256" etc. i still don't get how to set the inputs for cnn individually(emgucv mat and arrays are really confusing since you dont know how they are laid in the memory, documentation does not help either). for example, how can i pass an image to the cnn if the layer inputs are different than shown here?
@ProgrammingWithChris
@ProgrammingWithChris 2 жыл бұрын
Yeah, that's an issue I ran into as well, I believe. At least, my problem was the net.Forward was expecting a very specific dimension on the input. If your issue is similar to the one I'm thinking of, I'd recommend playing with the .Resize of the frame, even just manually putting the pixel values in the System.Drawing.Size() parameter to it so that you guarantee that it's a multiple of 3 (just have to do some math there). If that doesn't help, let me know and maybe point me to some code so I can take a look.
@lot10games
@lot10games 11 ай бұрын
I get this error : Emgu.CV.Util.CvException: 'OpenCV: Transpose the weights (except for convolutional) is not implemented'
@lot10games
@lot10games 11 ай бұрын
yolov3.weights is 2Kb LOL. It's corrupted or something . I downloaded from other source and it works.
@narf0339
@narf0339 3 ай бұрын
which language get you further or can do more for object tracking ? c# or python ?
@minhthiennguyen2740
@minhthiennguyen2740 Жыл бұрын
how to capture image and detect ? I don't want detect when wedcam run live stream?
@كنوزإمامالدعاة
@كنوزإمامالدعاة Жыл бұрын
I am planning to build a software that can help blinds to detect objects and faces, to what extent this can be helpful? or I should think of different library/language/framework?
@peri.platypus
@peri.platypus 9 ай бұрын
Is it possible in plate number? Using c#? What is best to use haar classifier or yolo? Thanks
@JustBrandonLim
@JustBrandonLim 2 жыл бұрын
Hi, thanks for this great tutorial. I am currently trying out to run inference from an ONNX model, and I seem to have problems finding a way to unwrap the VectorOfMat that is returned after running a forward pass. Is there any documentations on unwrapping?
@aidanjones2885
@aidanjones2885 2 жыл бұрын
Hi Chris, I tried to run the source code for the YOLO example and I added those 4 files to my project file but I get the error: An unhandled exception of type 'Emgu.CV.Util.CvException' occurred in Emgu.CV.Platform.NetStandard.dll Additional information: OpenCV: Failed to parse NetParameter file: ./detection/yolov3.cfg. This happens by the first line var net = Emgu.CV.Dnn...etc. Do you possibly know how to solve this problem? Am I putting those files in the wrong place?
@ProgrammingWithChris
@ProgrammingWithChris 2 жыл бұрын
Are the files in a folder inside of your project called /detection/ ? if not, you'll just have to adjust to point it to the right location.
@digitarts6085
@digitarts6085 11 ай бұрын
I had same problem, but I was able to solve it by installing Emgu.cv.runtime.windows to project.
@PhạmNguyễnHoàngAnh-anhpnh
@PhạmNguyễnHoàngAnh-anhpnh 10 ай бұрын
Helo, how to Object Tracking on C#?
@lanaguilfoyle8072
@lanaguilfoyle8072 2 жыл бұрын
Hi Chris, really helpful and great tutorial! I have errors on the first line with var net = Emgu.Cv.Dnn.. when I try to run the program: System.TypeInitializationException: 'The type initializer for 'Emgu.CV.Dnn.DnnInvoke' threw an exception.' And: DllNotFoundException: Unable to load DLL 'cvextern' or one of its dependencies: The specified module could not be found. Is there any chance you can help?
@abbeykirkman397
@abbeykirkman397 Жыл бұрын
did you fine the solution to this?
@digitarts6085
@digitarts6085 11 ай бұрын
@@abbeykirkman397 I had same problem, but I was able to solve it by installing Emgu.cv.runtime.windows to project.
@PixeI
@PixeI Жыл бұрын
Wauww nice content! Can you make a video showing YOLOv6 or 7 working with C#?
@peri.platypus
@peri.platypus 9 ай бұрын
You make it look easy😂
@GR4MPI
@GR4MPI Жыл бұрын
Hi, do you think that it could be used to capture all the chess pieces and their location, and then return their positions in 2d array representation of chess board ?
@kerverse
@kerverse Жыл бұрын
Any updates? Ive been working on a similar project and dont have any leads at the moment
@s1mplename
@s1mplename 5 ай бұрын
@@GR4MPI well you could make a sort of detection using a color based analysis. though you would need to really work on a project and create a tech from scratch
@GR4MPI
@GR4MPI 5 ай бұрын
@@s1mplename yes.. i did my research and decidedd not to go this way :)
@s1mplename
@s1mplename 5 ай бұрын
@@GR4MPI i was tasked with a project about a new type of age detection. Im still pondering about how to make it. Its tooo hard 😭
@GR4MPI
@GR4MPI 5 ай бұрын
@@s1mplename the harder the fight is, the greater is the victory. Stay strong bro 💪
@azhanisyahputra9867
@azhanisyahputra9867 Жыл бұрын
This is educational 😍
@qpumuJIbek
@qpumuJIbek Жыл бұрын
Can u do "The Easiest " code in 10-15lines to demonstrange to how EASY start. no those things. omg. BE SIMPLE DUDE! there mose ppls who cant/dont want read documentation.
Augmented Reality (sort of) in OpenCV - OpenCv in C# for Beginners!
27:13
Programming With Chris
Рет қаралды 1,8 М.
OpenCV in C# for Beginners  - Introduction to OpenCV in C# using Emgu!
17:46
Programming With Chris
Рет қаралды 16 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Using ML.NET for Object Detection in WinForms
17:49
Jon Wood
Рет қаралды 23 М.
I built a real HTTP sever in ARM assembly in under 200 lines
22:34
C# Image & Video Processing using EmguCV
21:01
EETechStuff
Рет қаралды 13 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН