How to work with Stereo Pi

Share your projects and ideas with the community!
User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

Okay, let's try from the very beginning.
Do you have any HDMI monitor, USB keyboard and USB mouse? Or you're using a notebook (laptop)?
Eugene a.k.a. Realizator

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

Helloo...
I'm using the 64bit desktop,I have connected hdmi cable and mouse and keyboard,I have changed user name to pi.and I'm going to do my c++ code in netbeans IDE 8.2,and puTTY compiler im using as console.I'm going to execute the script1.cpp but build failed. Im attaching the files below. help me to proceed next.
Thank you..
Attachments
cons.png
cons.png (126.41 KiB) Viewed 23066 times
scrpt.png
scrpt.png (113.79 KiB) Viewed 23066 times

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

Can you exclude your desktop from this experiment?
Try to connect mouse, keyboard and HDMI monitor directly to your StereoPi, and compile/run examples like shown on our video?
Eugene a.k.a. Realizator

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

Helloo..
Is there any possibility to do without HDMI cable?
I don't want to do with HDMI cable so..

Thanks and regards
Bhavana

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

Bhavana, without HDMI cable (by putty in your case) you can:
- access to the code onboard
- run compilation command (onboard, but not from your MS Visual Studio)
- run the binary compiled

But you will not be able to see the result, as all data (like images, depth map etc.) are shown on HDMI output only. Over Putty you can see just a console messages.
Eugene a.k.a. Realizator

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

Hi
access to the code onboard
- run compilation command (onboard, but not from your MS Visual Studio)~>Here im not using Visual studio,I'm using Netbeans IDE8.2

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

Bhavya wrote:
Wed Mar 04, 2020 12:52 pm
Hi
access to the code onboard
- run compilation command (onboard, but not from your MS Visual Studio)~>Here im not using Visual studio,I'm using Netbeans IDE8.2
Bhavana, I recommend you to start with just a repeating all the steps from the very first tutorial and the very first video. Without external Windows machine, but just with the connected keyboard, mouse and HDMI monitor to your StereoPi and OpenCV image.
When you can do this 1st step, we can move further. Step by step.
Eugene a.k.a. Realizator

stereomaton
Posts: 215
Joined: Tue May 21, 2019 12:33 pm
Location: France

Re: How to work with Stereo Pi

Post by stereomaton »

I agree with Realizator: if you choose the opencv way, which is a bit advanced, following the step by step video tutorial is a good idea.

You do not need your PC for the opencv way. All is done on the stereopi, including the compilation, display and even desktop-like interaction with software. Just plug USB keyboard, mouse and HDMI screen and follow the video steps to familiarize yourself with the way to do things in this context.

When you will be confident with the tutorial, you might do headless processing depending on your needs, although displaying the image live might still be useful during writing to check that the processing does what is expected.
Stereophotographer and hacker
Despite my quite active participation in the forum, I am not in the StereoPi team
StereoPi (v1) Standard Edition + CM3Lite module + a few cameras

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

Helloo

Thanks for the help..I will proceed as you informed.

Thanks once again Realizator

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

helloo..

Can you please tell me how to install StereoPi library for c++?

Thanks and regard
Bhavana

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

Hi Bhavana,
What do you mean under C++ library for the StereoPi? We have no special libraries. Just install OpenCV and use it. If you are working with our latest OpenCV image, all software you need already installed.
Eugene a.k.a. Realizator

Bhavya
Posts: 23
Joined: Fri Feb 21, 2020 7:25 am

Re: How to work with Stereo Pi

Post by Bhavya »

Helloo..

What do you mean under C++ library for the StereoPi?
~I mean without python i need to use stereo libraries, so for that i have mentioned c++.
how to check that in installed opencv whether the stereo libraries are present or not?

Thanks and Regrads
Bhavana

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: How to work with Stereo Pi

Post by Realizator »

In our image we compiled OpenCV from sources, with all stereoscopic libraries.
So you can take OpenCV sources and compile them.
Eugene a.k.a. Realizator

Post Reply