<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/828" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2019-12-24T15:49:14+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/828</id>

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-12-24T15:49:14+00:00</updated>

		<published>2019-12-24T15:49:14+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1472#p1472</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1472#p1472"/>
		<title type="html"><![CDATA[Re: ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1472#p1472"><![CDATA[
It's great that you've solved your issue! <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Dec 24, 2019 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[megil]]></name></author>
		<updated>2019-12-24T15:17:20+00:00</updated>

		<published>2019-12-24T15:17:20+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1471#p1471</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1471#p1471"/>
		<title type="html"><![CDATA[Re: ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1471#p1471"><![CDATA[
I tried it with python3 but it didn't work.<br><br>I think I have a bug related to numpy, I used PiRGBArray instead of numpy. I solved the problem.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=314">megil</a> — Tue Dec 24, 2019 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-12-24T14:49:22+00:00</updated>

		<published>2019-12-24T14:49:22+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1468#p1468</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1468#p1468"/>
		<title type="html"><![CDATA[Re: ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1468#p1468"><![CDATA[
<blockquote class="uncited"><div>I'm using Ubuntu-Mate.<br><br>The codes I use are the latest in your github repository.</div></blockquote>Okay. <br>1. Which repository you're using now?<br>2. For our python codes you need to use python3. In our image we've tuned system, so running "python 1_test.py" actually runs python3, that is "python3 1_test.py". Have you tried to run "python3" instead of "python"?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Dec 24, 2019 2:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[megil]]></name></author>
		<updated>2019-12-24T14:00:26+00:00</updated>

		<published>2019-12-24T14:00:26+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1467#p1467</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1467#p1467"/>
		<title type="html"><![CDATA[Re: ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1467#p1467"><![CDATA[
I'm using Ubuntu-Mate.<br><br>The codes I use are the latest in your github repository.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=314">megil</a> — Tue Dec 24, 2019 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-12-24T13:49:51+00:00</updated>

		<published>2019-12-24T13:49:51+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1466#p1466</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1466#p1466"/>
		<title type="html"><![CDATA[Re: ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1466#p1466"><![CDATA[
Hi Megil,<br>As a rule, such an errors appears if you're installing our tutorial scripts on a Raspbian with a newer Python or OpenCV version.<br><br>Solutions:<br>1. [recommended] Use the latest code and Raspbian image. This is Buster-based image and a code from this repo: <a href="https://github.com/realizator/stereopi-fisheye-robot" class="postlink">https://github.com/realizator/stereopi-fisheye-robot</a> <br>You can find downloads link in this repository description file.<br><br>(JFYI: This is updated version of older "<a href="https://github.com/realizator/stereopi-tutorial" class="postlink">https://github.com/realizator/stereopi-tutorial</a>" code)<br><br>2. You can use previous code <a href="https://github.com/realizator/stereopi-tutorial" class="postlink">https://github.com/realizator/stereopi-tutorial</a> and appropriate Stretch image <br><br>3. If you're advanced user, you can prepare appropriate Raspbian image by installing OpenCV as mentioned in this <a href="https://github.com/realizator/stereopi-fisheye-robot/blob/master/buster-opencv-notice.md" class="postlink">guide</a>.<br><br><strong class="text-strong">UPD&gt;</strong> According to your another post on our forum, I can suggest you're using Ubuntu Mate. In this case it is better to follow step 3.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Dec 24, 2019 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[megil]]></name></author>
		<updated>2019-12-24T13:38:39+00:00</updated>

		<published>2019-12-24T13:38:39+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1464#p1464</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1464#p1464"/>
		<title type="html"><![CDATA[ValueError : buffer object must be one-dimensional and have unsigned byte format (&quot;B&quot;).]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1464#p1464"><![CDATA[
Hello everyone,<br><br>I have a problem.<br><br>I get this error when running 1_test.py in tutorial;<br>ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").<br><br>"raspistill -cs 0"  -  OK<br>"raspistill -cs 1"  -  OK<br><br>Can you help me?<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=314">megil</a> — Tue Dec 24, 2019 1:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
