Search found 9 matches

by megil
Thu Jan 09, 2020 12:51 pm
Forum: OpenCV, Python and other image processing
Topic: The depth map colors are constantly changing
Replies: 6
Views: 60

Re: The depth map colors are constantly changing

Hello Megil, There are several reasons of colors variation. 1. Actually, colors you see is not actual depth map data. Let's look inside the colorization part of our code (lines 92-94 from stereopi-tutorial, script 6 ) 92 disparity_grayscale = (disparity-local_min)*(65535.0/(local_max-local_min)) 93...
by megil
Thu Jan 09, 2020 12:50 pm
Forum: OpenCV, Python and other image processing
Topic: The depth map colors are constantly changing
Replies: 6
Views: 60

Re: The depth map colors are constantly changing

stereomaton wrote:
Wed Jan 08, 2020 5:17 pm
As the software tries to reconstruct map from two changing images (images in videos often fluctuate, especially with fluorescent lighting) the result can fluctuate too, I guess.
What is the order of magnitude of the depth estimation variance?
I didn't undersand what you said.
by megil
Wed Jan 08, 2020 3:25 pm
Forum: OpenCV, Python and other image processing
Topic: The depth map colors are constantly changing
Replies: 6
Views: 60

The depth map colors are constantly changing

Hi everyone, I'm following the stereopi tutorial. Colors are changing when creating a depth map. My hand is fixed in the picture that I gave the connection. But the color is becoming a little lighter. So even though the picture is fixed, the depth map color fluctuates constantly. First ,second and t...
by megil
Tue Dec 24, 2019 3:17 pm
Forum: OpenCV, Python and other image processing
Topic: ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").
Replies: 5
Views: 78

Re: ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").

I tried it with python3 but it didn't work.

I think I have a bug related to numpy, I used PiRGBArray instead of numpy. I solved the problem.

Thanks.
by megil
Tue Dec 24, 2019 1:46 pm
Forum: OpenCV, Python and other image processing
Topic: Stereo Pi and Ubuntu Mate.
Replies: 4
Views: 88

Re: Stereo Pi and Ubuntu Mate.

Thanks for answers. I solved this problem. The operating system on my memory card has two parts. The first is "system-boot", the second is "writable". I located "dt-blob.bin" file "/writable/boot". But you have to locate it into the "system-boot" partition. I'd appreciate it if you'd add it to the w...
by megil
Tue Dec 24, 2019 1:38 pm
Forum: OpenCV, Python and other image processing
Topic: ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").
Replies: 5
Views: 78

ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").

Hello everyone,

I have a problem.

I get this error when running 1_test.py in tutorial;
ValueError : buffer object must be one-dimensional and have unsigned byte format ("B").

"raspistill -cs 0" - OK
"raspistill -cs 1" - OK

Can you help me?

Thanks.
by megil
Mon Dec 23, 2019 12:18 pm
Forum: OpenCV, Python and other image processing
Topic: Stereo Pi and Ubuntu Mate.
Replies: 4
Views: 88

Re: Stereo Pi and Ubuntu Mate.

Hi Realizator,

I already put dt-blob.bin in the boot directory. But it didn't help.

There is another file named dt-blob.dst. Do you know anything about this ?
by megil
Mon Dec 23, 2019 8:46 am
Forum: OpenCV, Python and other image processing
Topic: Stereo Pi and Ubuntu Mate.
Replies: 4
Views: 88

Stereo Pi and Ubuntu Mate.

Hello everyone,

I have a memory card that installed ubuntu mate and ros.

I can use them with any raspberry pi. But when I connect the stereo pi, it doesn't see the cameras.

Is there a file like "dt-blob.bin" for ubuntu mate users?

Thanks in advance.