Re: [BangPypers] how to see each line result in python

2015-03-03 Thread Gora Mohanty
On 3 March 2015 at 18:50, narayan naik wrote: [...] > I want to see what happens in each line.I know what happens in > theoritically but i want each line result.is i possible. What you seem to be looking for is a Python debugger. Try pdb: See, e.g., https://pythonconquerstheuniverse.wordpress.co

[BangPypers] how to see each line result in python

2015-03-03 Thread narayan naik
hi, i have face detection code as import cv2 import sys def detect(path): img = cv2.imread(path) cascade = cv2.CascadeClassifier("/home/nv/haarcascade_frontalface_alt.xml") rects = cascade.detectMultiScale(img, 1.3, 4, cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) if len(rects) == 0: