<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I'm trying to do the cameraview in python, but, when I compile I get:<br>
</p>
<p><br>
</p>
<p>Traceback (most recent call last):<br>
&nbsp; File &quot;/home/ubuntu/JdeRobot/src/stable/components/cameraview/Sensor.py&quot;, line 21, in __init__<br>
&nbsp;&nbsp;&nbsp; self.image = self.cameraProxy.getImageData();<br>
TypeError: getImageData() takes at least 2 arguments (1 given)<br>
Exception in thread Thread-1:<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;/usr/lib/python2.7/threading.py&quot;, line 810, in __bootstrap_inner<br>
&nbsp;&nbsp;&nbsp; self.run()<br>
&nbsp; File &quot;/home/ubuntu/JdeRobot/src/stable/components/cameraview/ThreadControl.py&quot;, line 17, in run<br>
&nbsp;&nbsp;&nbsp; self.sensor.update()<br>
&nbsp; File &quot;/home/ubuntu/JdeRobot/src/stable/components/cameraview/Sensor.py&quot;, line 33, in update<br>
&nbsp;&nbsp;&nbsp; self.image = self.cameraProxy.getImageData();<br>
TypeError: getImageData() takes at least 2 arguments (1 given)<br>
</p>
<p></p>
<pre dir="ltr" data-fulltext="" class="tw-data-text vk_txt tw-ta tw-text-medium" data-placeholder="Traducción" id="tw-target-text" style="text-align: left; height: 36px;"><span lang="en">What happen?</span></pre>
<p></p>
<p>Thanks!!!<br>
</p>
</div>
</body>
</html>