<?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/902" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2020-04-15T15:03:59+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-04-15T15:03:59+00:00</updated>

		<published>2020-04-15T15:03:59+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1860#p1860</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1860#p1860"/>
		<title type="html"><![CDATA[Re: Broken Stereoscopic Support in Raspbian Stretch]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1860#p1860"><![CDATA[
Update: rpi-update solves this issue now, and stereoscopic support works again. <br>Related issue on Github: <a href="https://github.com/raspberrypi/firmware/issues/1253#issuecomment-614081437" class="postlink">https://github.com/raspberrypi/firmware ... -614081437</a><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Apr 15, 2020 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fraserbarton]]></name></author>
		<updated>2020-03-30T15:45:00+00:00</updated>

		<published>2020-03-30T15:45:00+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1821#p1821</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1821#p1821"/>
		<title type="html"><![CDATA[Re: Broken Stereoscopic Support in Raspbian Stretch]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1821#p1821"><![CDATA[
Apologies I was using the -3d option incorrectly, that makes sense that it would require an option like side by side or top and bottom.<br><br>Although when I do pass the sbs option the preview window just freezes over the top of raspbian so it is more likely to be this kernel issue.<br><br>I had tried to use the sudo vcdbg set awb_mode 0 fix but this did not resolve any of my issues.<br><br>I will fresh install the SD Card with the StereoPi build of Buster. Thanks for the coherent advice. When I first started out working from the Wiki I didn't find that I was being point to important information such as your GitHub (<a href="https://github.com/realizator/stereopi-fisheye-robot" class="postlink">https://github.com/realizator/stereopi-fisheye-robot</a>). The written explanations are much better than just a set of download links to someone who is new to the Pi platform.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=264">fraserbarton</a> — Mon Mar 30, 2020 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-03-30T12:37:26+00:00</updated>

		<published>2020-03-30T12:37:26+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1818#p1818</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1818#p1818"/>
		<title type="html"><![CDATA[Re: Broken Stereoscopic Support in Raspbian Stretch]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1818#p1818"><![CDATA[
Hi Fraserbarton,<br>Stereomaton is right - you need to add extra option like "sbs" to your command line. I.e. try this:<br><div class="codebox"><p>Code: </p><pre><code>raspistill -3d sbs</code></pre></div>As for you second issue (like no access to the camera after forcing stereoscopic mode in Python). Looks like you faced an issue I mention several months ago <a href="https://github.com/raspberrypi/firmware/issues/1253" class="postlink">here on GitHub</a>. To say briefly:<br>- new AWB algorithm is implemented in Raspbian, and it broke stereoscopic support<br>- To fix it run once after reboot "sudo vcdbg set awb_mode 0" BEFORE accessing a camera<br><br>As I mentioned in our <a href="https://stereopi.com/blog/opencv-comparing-speed-c-and-python-code-raspberry-pi-stereo-vision" class="postlink"> last article</a> in "Section 2 – Detailed debriefing", we added this command to "/etc/rc.local" to avoid manual run after each boot. <br><br>Raspberry Pi Foundation promised to fix this issue in upcoming releases. Now they have a couple of StereoPi, and I hope they can do a tests of stereoscopic mode. <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"><br><br><strong class="text-strong">UPDATE&gt;</strong> As for the stable release - this AWB "feature" now exists in both Stretch and Buster (with the latest kernels). If you can choose a platform for your project - it is better to use Buster. Our latest OpenCV image is based on Buster, and we plan to update our SLP image to Buster too.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Mon Mar 30, 2020 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomaton]]></name></author>
		<updated>2020-03-30T12:14:27+00:00</updated>

		<published>2020-03-30T12:14:27+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1814#p1814</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1814#p1814"/>
		<title type="html"><![CDATA[Re: Broken Stereoscopic Support in Raspbian Stretch]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1814#p1814"><![CDATA[
I (quickly) answer only to the first part.<br>The -3d option needs a value, see <a href="https://forum.stereopi.com/viewtopic.php?f=11&amp;t=43" class="postlink">https://forum.stereopi.com/viewtopic.php?f=11&amp;t=43</a> for example.<br>Doc: <a href="https://www.raspberrypi.org/documentation/raspbian/applications/camera.md" class="postlink">https://www.raspberrypi.org/documentati ... /camera.md</a><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=101">stereomaton</a> — Mon Mar 30, 2020 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fraserbarton]]></name></author>
		<updated>2020-03-30T11:41:26+00:00</updated>

		<published>2020-03-30T11:41:26+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1813#p1813</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1813#p1813"/>
		<title type="html"><![CDATA[Broken Stereoscopic Support in Raspbian Stretch]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1813#p1813"><![CDATA[
I am currently experiencing issues with the stereoscopic mode, I am running Raspbian stretch and Python 3.5.3.<br><br>If I run <br><div class="codebox"><p>Code: </p><pre><code>raspistill -cs 0</code></pre></div>or<br><div class="codebox"><p>Code: </p><pre><code>raspistill -cs 1</code></pre></div>I get the preview from either camera happily.<br><br>Running <br><div class="codebox"><p>Code: </p><pre><code>raspistill</code></pre></div>to bring up the various options I can pass, I can see that -3d is listed. However, if I run <br><div class="codebox"><p>Code: </p><pre><code>raspistill -3d</code></pre></div>I get an 'Invalid command line option (-3d)' response.<br><br>I can happily get grabs from a singular camera using a simple python script:<br><div class="codebox"><p>Code: </p><pre><code>from picamera import PiCameraimport timecamera = PiCamera(resolution=(480, 320))time.sleep(2)camera.capture('jpeg-test-shot.jpeg')</code></pre></div>However if I pass stereoscopic mode as an option the script just hangs when I try and execute it i.e.<br><div class="codebox"><p>Code: </p><pre><code>from picamera import PiCameraimport timecamera = PiCamera(stereo_mode='side-by-side', resolution=(480, 320))time.sleep(2)camera.capture('jpeg-test-shot-stereo.jpeg')</code></pre></div>Once I have force closed the program above I then find that I cannot access the camera resources at all<br><br>Please not I am not running any particular version for any particular reason, so please tell me if you spot conflicting versions please point this out for me. This issue seems to be similar to the Raspbian Buster kernel issue from this forum:<br><br><a href="https://forum.stereopi.com/viewtopic.php?f=9&amp;t=744" class="postlink">https://forum.stereopi.com/viewtopic.php?f=9&amp;t=744</a><br><br>Fortunately I am at a stage in this project where I am free to fresh install the OS and all software on the StereoPi and not lose any time. It would be good if someone (possibly an administrator) could point me towards a known set of working compatible versions? What is the most stable known combination? <br><br>(Results from running cat /etc/os-release)<br>PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"<br>NAME="Raspbian GNU/Linux"<br>VERSION_ID="9"<br>VERSION="9 (stretch)"<br>VERSION_CODENAME=stretch<br>ID=raspbian<br>ID_LIKE=debian<br>HOME_URL="<a href="http://www.raspbian.org/" class="postlink">http://www.raspbian.org/</a>"<br>SUPPORT_URL="<a href="http://www.raspbian.org/RaspbianForums" class="postlink">http://www.raspbian.org/RaspbianForums</a>"<br>BUG_REPORT_URL="<a href="http://www.raspbian.org/RaspbianBugs" class="postlink">http://www.raspbian.org/RaspbianBugs</a>"<br><br>(Python Version)<br>Python 3.5.3 (default, Sep 27 2018, 17:25:39) <br>[GCC 6.3.0 20170516] on linux<br>Type "help", "copyright", "credits" or "license" for more information.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=264">fraserbarton</a> — Mon Mar 30, 2020 11:41 am</p><hr />
]]></content>
	</entry>
	</feed>
