I have tried simply video capture program that is capture a photo in scene in front of webcam...I have achieved face detection and upper body detection by using haarcascade_upperbody.xml and lbpcascade_frontalface.xml files but when I want to detected full body or lower body, this program doesn't working...opencv-java interface early new so I can't find source for this subjects...I hope you give some hints...thanks for reading.here is my code: \[code\]import org.opencv.core.Core;import org.opencv.core.Mat;import org.opencv.core.MatOfRect;import org.opencv.core.Point;import org.opencv.core.Rect;import org.opencv.core.Scalar;import org.opencv.highgui.Highgui;import org.opencv.highgui.VideoCapture;import org.opencv.objdetect.CascadeClassifier;public class ResimCek {public void resimCek(){ System.loadLibrary("opencv_java244"); CascadeClassifier cascadeClassifier = new CascadeClassifier("haarcascade_fullbody.xml"); VideoCapture cap = new VideoCapture(0); if(!cap.isOpened()) JOptionPane.showMessageDialog(null, "Kamera Bulunamadi", "Hata", JOptionPane.ERROR_MESSAGE); Mat frame = new Mat(); cap.retrieve(frame); Highgui.imwrite("cek.jpg", frame); cap.release(); Mat resim = Highgui.imread("cek.jpg"); MatOfRect rect = new MatOfRect(); cascadeClassifier.detectMultiScale(resim, rect); Scalar renk = new Scalar(255, 0, 0); for(Rect dik : rect.toArray()){ Core.rectangle(resim, new Point(dik.x, dik.y), new Point(dik.x- dik.width, dik.y-dik.height), renk); } Highgui.imwrite("dene.jpg", resim);}\[/code\]}