Search found 12 matches

by megil
Thu Mar 19, 2020 11:35 am
Forum: OpenCV, Python and other image processing
Topic: Depth Map Coloring Problem
Replies: 2
Views: 5635

Re: Depth Map Coloring Problem

I don't have this problem when using python code. I am encountering using c ++ code. My efforts to solve the issue continue. If I can't get a solution, I will send you the documents. Thank you for your answers. Sorry, my email address is no longer accessible. I need to change it.
by megil
Thu Mar 19, 2020 11:26 am
Forum: OpenCV, Python and other image processing
Topic: Installation of .blob file on Ubuntu Server
Replies: 2
Views: 6157

Re: Installation of .blob file on Ubuntu Server

Insert the memory card into the computer. You will see 2 partitions. 1 - Writable 2 - System boot It is necessary to send the file named "dt-blob.bin" to the "system*boot" part. This is correct. It didn't work because I had previously put the "dt-blob.bin" file into "/ writable / boot". This is wrong.
by megil
Tue Mar 17, 2020 3:11 pm
Forum: OpenCV, Python and other image processing
Topic: Depth Map Coloring Problem
Replies: 2
Views: 5635

Depth Map Coloring Problem

Hello everyone, I follow this page; https://stereopi.com/blog/opencv-comparing-speed-c-and-python-code-raspberry-pi-stereo-vision My depth map ; https://i.ibb.co/x1Z9CGh/Screenshot.png I have been dealing with this issue for a long time. I have information about stereo vision. Although I have set al...
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: 6181

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: 6181

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: 6181

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: 5181

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: 4958

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: 5181

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: 4958

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: 4958

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.