Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think it is normal that the detection with haarcascade_upperbody.xml returns no detection for your test image.

The learning file was trained for pedestrian detection purpose and thus is not adapted for your case. Following is the quote from the file haarcascade_upperbody.xml:

"Haar"-based Detectors For Pedestrian Detection by Hannes Kruppa and Bernt Schiele, ETH Zurich, Switzerland

This archive provides the following three detectors: - upper body detector (most fun, useful in many scenarios!) - lower body detector - full body detector

These detectors have been successfully applied to pedestrian detection in still images. They can be directly passed as parameters to the program HaarFaceDetect. NOTE: These detectors deal with frontal and backside views but not with side views (also see "Known limitations" below).

Here the video results for pedestrian detection:

I think it is normal that the detection with haarcascade_upperbody.xml returns no detection for your test image.

The learning file was trained for pedestrian detection purpose and thus is not adapted for your case. Following is the quote from the file haarcascade_upperbody.xml:

"Haar"-based Detectors For Pedestrian Detection by Hannes Kruppa and Bernt Schiele, ETH Zurich, Switzerland

This archive provides the following three detectors: - upper body detector (most fun, useful in many scenarios!) - lower body detector - full body detector

These detectors have been successfully applied to pedestrian detection in still images. They can be directly passed as parameters to the program HaarFaceDetect. NOTE: These detectors deal with frontal and backside views but not with side views (also see "Known limitations" below).

Here the video results for pedestrian detection:

By the way, here is what I got with haarcascade_upperbody.xml:

image description

I think it is normal that the detection with haarcascade_upperbody.xml returns no detection for your test image.

The learning file was trained for pedestrian detection purpose and thus is not adapted for your case. Following is the quote from the file haarcascade_upperbody.xml:

"Haar"-based Detectors For Pedestrian Detection by Hannes Kruppa and Bernt Schiele, ETH Zurich, Switzerland

This archive provides the following three detectors: - upper body detector (most fun, useful in many scenarios!) - lower body detector - full body detector

These detectors have been successfully applied to pedestrian detection in still images. They can be directly passed as parameters to the program HaarFaceDetect. NOTE: These detectors deal with frontal and backside views but not with side views (also see "Known limitations" below).

Here the video results for pedestrian detection:

By the way, here is what I got with haarcascade_upperbody.xml: (no detection with the two others):

image description