Kompatibilitätsproblem mit contourArea in openCV 3

Ich versuche, eine einfache Flächenberechnung von Konturen durchzuführen, die ich von findContours erhalte. Meine openCv-Version ist 3.1.0

Mein Code ist:

cc = cv2.findContours(im_bw.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
cv2.contourArea(cc[0])

error: 'C:\\builds\\master_PackSlaveAddon-win32-vc12-static\\opencv\\modules\\imgproc\\src\\shapedescr.cp...: error: (-215) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function cv::contourArea\n'

Scheint nicht zu lösen, ich habe das Gefühl, dass es sich nur um eine Typumwandlung handelt, obwohl ich erwarte, dass das findContours-Ergebnis der Art von contourArea entspricht.

Vielen Dank :

EDIT: Es stellt sich heraus, dass ich das 2. Argument von findContours @ nehmen mu

 im2, cc, hierarchy = cv2.findContours(im_bw.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)