TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dylan McCabe
NA
3
571
Problem implementing Haar Cascade car
May 24 2018 1:17 PM
Hi everyone,
I've been trying to implement Haar Cascade car classifer lass in order to detection vehicles in a video. However I can't seem to find anything on this. I'm new to Haar Cascade and EmguCV. Any help would be much appreciated, thanks in advance. All I have been able to find so far is:
public class HaarCascade : ICloneable
{
String path = @"C:\Users\Dylan\car.xml";
HaarCascade cascade1 = HaarCascade.FromXml(path);
Image<Bgr, Byte> frame = new Image<Bgr, Byte>(bitmap);
Image<Gray, Byte> grayFrame = frame.Convert<Gray, Byte>();
var cars = haar.DetectMultiScale(grayFrame, 1.5, 20, new System.Drawing.Size(10, 10), new System.Drawing.Size(80, 80));
foreach (var car in cars);
frame.Draw((Rectangle)car, new Bgr(255.0, 0, 0), 2);
}
Reply
Answers (
0
)
Problem with my save dialog logic
In Dev environment is working but in production is not work