Search found 215 matches
- Sun Oct 16, 2022 4:13 pm
- Forum: Cameras and video capture modules
- Topic: How to detect focus using HQ cam
- Replies: 2
- Views: 12034
Re: How to detect focus using HQ cam
Did you test with the V2 cameras? Actually, the depth of field is also related to the physical size of the sensor so that your reasoning is not completely right. You'll see that V2 has a large depth of field suitable for stereo photography. The image quality may or may not be good for you though. Fo...
- Mon Sep 05, 2022 5:05 pm
- Forum: OpenCV, Python and other image processing
- Topic: What metadata is needed for OpenCV to create stereo depth map?
- Replies: 2
- Views: 11471
Re: What metadata is needed for OpenCV to create stereo depth map?
I am sure you can find tuto/book online about it, I did a while ago. You can also look at the code from realizator https://github.com/realizator/stereopi-fisheye-robot and read the official documentation of the called functions. From what I remember, you have three steps: 1) Align images Find the tr...
- Mon Aug 15, 2022 10:11 am
- Forum: OpenCV, Python and other image processing
- Topic: Right Camera Calibration Issues
- Replies: 3
- Views: 12018
Re: Right Camera Calibration Issues
I did not test your code, but by reading it rapidly, I noticed an error here:
https://github.com/atrunyan/stereopi_UR ... reo.py#L56
Not read afterwards.
https://github.com/atrunyan/stereopi_UR ... reo.py#L56
Not read afterwards.
- Wed Jun 08, 2022 10:52 am
- Forum: SLP2 RaspiOS image
- Topic: Stereopi v2 as usb device
- Replies: 5
- Views: 13173
Re: Stereopi v2 as usb device
The article was written for v0.9, I do not have a v2 and thus I did not examine the differences.
You may look at dmesg command to see if the kennel emits an error message about it.
By the way, I see in your config.txt that you set both dr_mode=host and peripheral which could likely be a problem.
You may look at dmesg command to see if the kennel emits an error message about it.
By the way, I see in your config.txt that you set both dr_mode=host and peripheral which could likely be a problem.
- Fri May 13, 2022 4:56 am
- Forum: Cameras and video capture modules
- Topic: Splitting stereo video into two videos?
- Replies: 4
- Views: 14258
Re: Splitting stereo video into two videos?
For offline conversion (after the half-sbs file is created), here is a ffmpeg command to split your video input.mp4 into two files output_l.mp4 and output_r.mp4 : ffmpeg -i input.mp4 -filter_complex 'split[a][b],[a]stereo3d=sbs2l:ml[l],[b]stereo3d=sbs2l:mr[r]' -map '[l]' output_l.mp4 -map '[r]' outp...
- Sun Apr 04, 2021 9:10 pm
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Raspivid 3D Top-Bottom Bug
- Replies: 11
- Views: 13931
Re: Raspivid 3D Top-Bottom Bug
I talked about gpu_mem in config.txt of the BOOT partition. The GPU and OS share the same RAM, but cannot interact to manage the allocations, and thus we have to define where is the split, that is which amount will be let untouched by the OS so that the GPU can use it and the way around. Since the i...
- Sat Apr 03, 2021 5:24 am
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Raspivid 3D Top-Bottom Bug
- Replies: 11
- Views: 13931
Re: Raspivid 3D Top-Bottom Bug
From what I understood, the video preview is directly managed by the gpu that bypasses the display manager, displaying the video on an overlay composited by the hardware. Thus the first thing I would try in your case is to increase the video memory split size. If it doesn't work, I would input the f...
- Sat Apr 03, 2021 5:10 am
- Forum: Other topics
- Topic: mouse and keyboard not working
- Replies: 4
- Views: 20988
Re: mouse and keyboard not working
"stereopi starter kit" sounds like the v1.
In v1, you "have to" power the stereopi with the white JST connector. If you power it with the micro USB, it enters in device mode and the USB-A connectors are then disabled.
Maybe it is what happens in your case.
In v1, you "have to" power the stereopi with the white JST connector. If you power it with the micro USB, it enters in device mode and the USB-A connectors are then disabled.
Maybe it is what happens in your case.
- Wed Mar 31, 2021 8:13 am
- Forum: StereoPi hardware
- Topic: StereoPi v2 Camera Kit how to use only one oscillator for better sync
- Replies: 3
- Views: 15243
Re: StereoPi v2 Camera Kit how to use only one oscillator for better sync
Notice that in their case, they also removed what raspberry call the crypto chip, which is not needed for StereoPi (i.e. you can keep this chip) Also, I would encourage to twist the two wires together (the one that carries the oscillator signal and the one for the ground) to minimize interferences. ...
- Wed Mar 31, 2021 7:57 am
- Forum: StereoPi mechanics
- Topic: Are there cables available for wider basis?
- Replies: 3
- Views: 16088
Re: Are there cables available for wider basis?
These cables have some flexibility to elastically bend and twist in several directions, but if you need it, you can bend them hardly like in your photo, including at several places. The trick is that once bended hardly, you should not unbend to avoid to break the metallic tracks in it.
- Wed Mar 31, 2021 7:45 am
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Livestreaming to a web
- Replies: 9
- Views: 16569
Re: Livestreaming to a web
I do not have special links in mind for gstreamer and have not played with it yet. It can be controlled via python with deep access, but it is not simple. Using the VideoWriter is simpler because you only have to write the downstream pipeline in the string form, but not easy for beginners. However, ...
- Wed Mar 31, 2021 7:20 am
- Forum: StereoPi hardware
- Topic: Some questions before pledging V2
- Replies: 10
- Views: 23544
Re: Some questions before pledging V2
The frame rate of the video is not relevant in the estimation of the sync. They are just a lot of photos and a delay can be present at each shot. With the fast moving subject, we see that this delay is by far smaller than the time between two frames. As I said, this small sync error might be small e...
- Wed Mar 31, 2021 6:27 am
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Bad gateway and no browser stream incoming after upgrading
- Replies: 14
- Views: 17135
Re: Bad gateway and no browser stream incoming after upgrading
You can probably use the command chmod to override the rights, but it is probably better to understand how the rights are set in the first place. But again, the difference between 755 and 644 are execution rights, and then it is strange that you need them on a configuration (thus not executable) file.
- Wed Mar 31, 2021 6:14 am
- Forum: StereoPi hardware
- Topic: StereoPI V2 - how to trigger a flash light?
- Replies: 2
- Views: 9807
Re: StereoPI V2 - how to trigger a flash light?
You probably want to add electronics between the GPIO and the flash. Depending on the schematics I found online, they add either optocoupler (that I would personally prefer as it isolates the two sides), transistor, thyristor or even sometimes triac. You might add an ne555 to add an adjustable delay...
- Sun Mar 21, 2021 6:22 pm
- Forum: StereoPi hardware
- Topic: Some questions before pledging V2
- Replies: 10
- Views: 23544
Re: Some questions before pledging V2
So the answers: [this time I copied the questions :-)] > The V2 kit comes with 2 x IMX219 160 FoV camera. Each is 8MP - right? IMX219 is a 8Mpx sensor, yes. > Can I shoot stereo still images at this high resolution - means I get images 2 x 8MP side by side (which will result in 16MP image)? The v1 w...
- Sun Mar 21, 2021 5:37 pm
- Forum: StereoPi hardware
- Topic: Some questions before pledging V2
- Replies: 10
- Views: 23544
Re: Some questions before pledging V2
I am a user of the v1 and did not looked at the v2 much, but I can answer some questions. By the way, it seems that you edited your post while I was writing an answer (with a pause of a few hours), because the numbers do not correspond anymore. I have to start again. The StereoPi is not a ready-to-u...
- Sun Mar 21, 2021 10:47 am
- Forum: OpenCV, Python and other image processing
- Topic: DISFlow for disparity map
- Replies: 10
- Views: 22428
Re: DISFlow for disparity map
I tested it in the past. Here (a new test) with a photo from Perseverance robot on Mars: https://i.ibb.co/CM0yR5x/mars-test.jpg DISFlow gives this: (on the right part, I fused the original image for reference, and added the color wheel which says in which direction is the estimated displacement) htt...
- Sun Mar 21, 2021 9:52 am
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Bad gateway and no browser stream incoming after upgrading
- Replies: 14
- Views: 17135
Re: Bad gateway and no browser stream incoming after upgrading
You are working against the way SLP works (which is not a reproach, you do what you want with your board) so you have to find which mechanism you did not brake that is doing that. The mode is classically changed by a chmod or a copy, or sometimes if a file is removed and rewritten. I let you investi...
- Sun Mar 21, 2021 9:39 am
- Forum: Video, photo (livestream, recording, photo capturing)
- Topic: Livestreaming to a web
- Replies: 9
- Views: 16569
Re: Livestreaming to a web
If I understand your project well, you want to have: 1) a live stream 2) be able to send messages and report status to an autonomous application you design, via a web interface There are many ways to achieve this. I would say that the easiest would probably be to start with SLP to take advantage of ...
- Sun Mar 21, 2021 9:17 am
- Forum: Other hardware
- Topic: stereopi hats wtf ?
- Replies: 4
- Views: 17180
Re: stereopi hats wtf ?
If the GPIO connector was the way around, the pi-hat would cover the camera connectors.
Since the cameras are primary functions with this board, it is probably better this way.
Since the cameras are primary functions with this board, it is probably better this way.