title: TypeError: 'int' object is not callable in python 2.7.6
body: <p>here is the part of code:</p>
  
  <pre><code>contours,hierarchy =  cv2.findContours(thresh,cv2.RETR_CCOMP,cv2.CHAIN_APPROX_SIMPLE)
  found_Obj=False
  if (hierarchy.size() &gt; 0):
      numObj =hierarchy.size()
  </code></pre>
  
  <p>but I'm getting this error :</p>
  
  <pre><code>    if (hierarchy.size() &gt; 0):
  TypeError: 'int' object is not callable
  </code></pre>