简体   繁体   中英

How can I draw a rectangle around an object from background subtraction

How can I draw a rectangle around an object from background subtraction by C#, I searched too much but I can't find the answer for me. Hope somebody help.

在此处输入图片说明

The rectangle is around people.

What you are talking (taking into consideration the images provided) is pedestrian detection. This is a well known problem on Computer Vision

If you want to accomplished this task I would recommend you use OpenCV a widely used library on Computer Vision, although it is originally developed on Phyton and C/C++ there is a wrapper for c#

Here there is an example (code included) about how to achieve the pedestrian detection on CSharp

pedestrian detection on CSharp

Sorry, I'm using Windows Form C#, I want to draw a rectangle around object (not only people) car, animal, etc, .. from background subtract

Sorry for my bad English

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM