Search found 215 matches

by stereomaton
Sat Oct 24, 2020 8:08 pm
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 46934

Re: Stereo_Camera Calibration error

I wonder if this code can work for single camera or not? If I read it right, the original code first calibrate the two cameras independently (camera matrix + distortion) and then calibrates the system of two cameras (relative translation and rotation). Thus you can use the calibrated data for one s...
by stereomaton
Sun Sep 27, 2020 12:16 am
Forum: Cameras and video capture modules
Topic: Capture still images from HQ Camera 12.3MP
Replies: 13
Views: 12848

Re: Capture still images from HQ Camera 12.3MP

Someone else had a problem with vertical stripes, and it was related to the resolution used. See viewtopic.php?p=2057#p2057
by stereomaton
Mon Aug 31, 2020 12:08 am
Forum: Other topics
Topic: goodbye friends
Replies: 3
Views: 10272

Re: goodbye friends

Woo. It is very sad. I do not know how to react just after reading this, but still want to answer. I enjoyed reading about your experiments and knowing that the small bits I shared were useful to someone. I feel honored that you came back here to say this in your situation. Goodbye and good luck non...
by stereomaton
Sun Aug 30, 2020 11:28 pm
Forum: OpenCV, Python and other image processing
Topic: Defect detection
Replies: 2
Views: 9717

Re: Defect detection

Your problem does not look related to the stereopi, so you should probably ask the question on another forum. What I personally could say is that you better have to work in a controlled light environment. In particular, you can use the light to illuminate the zone to inspect only. With similar angle...
by stereomaton
Tue Aug 25, 2020 7:44 am
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 46934

Re: Stereo_Camera Calibration error

I just noted that I did not have problems executing it on my station, on which I tested because I did not have access to my stereopi at this time and a part of the question was answerable that way. You corrected it in the context, so there is no absolute need to upgrade the library. Furthermore it m...
by stereomaton
Mon Aug 24, 2020 7:33 pm
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 46934

Re: Stereo_Camera Calibration error

Mine is 4.4.0
Cloning the repo and executing 3_* & 4_* worked with it without error message before the correction as I said before.
by stereomaton
Sun Aug 23, 2020 9:06 am
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 46934

Re: Stereo_Camera Calibration error

On the PC I have opencv4 which might have fixed the "close to edges" bug compared to the version in the stereopi.
by stereomaton
Sun Aug 23, 2020 9:01 am
Forum: Other software
Topic: OctoPrint Usage: How do I get OctoPi to recognize the cameras?
Replies: 4
Views: 11215

Re: OctoPrint Usage: How do I get OctoPi to recognize the cameras?

I did not see your message before. The dt-blob looked like a good start, did it solve your problem?
by stereomaton
Sun Aug 23, 2020 8:51 am
Forum: StereoPi hardware
Topic: External trigger sync
Replies: 2
Views: 2709

Re: External trigger sync

This post https://forum.stereopi.com/viewtopic.php?f=10&t=106 discuss how to add a button to trigger a photo. You can replace the button by an other electronic signal that switches from high-impedance to gnd (e.g. through a transistor). It is not designed for low latency though. For lower latency, y...
by stereomaton
Wed Aug 12, 2020 9:27 am
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 46934

Re: Stereo_Camera Calibration error

I do not have my stereopi here, but since you said that you used only the data of the repo, I tested on my PC. I had a guess on what could happen and did this test: 1) Execute 4_calibration_fisheye.py directly after a fresh clone. I get the same error. 2) Execute the way I would have, that is execut...
by stereomaton
Tue Aug 11, 2020 5:34 pm
Forum: StereoPi hardware
Topic: StereoPi Issue - Right camera input displaying magenta in hotspots
Replies: 23
Views: 36449

Re: StereoPi Issue - Right camera input displaying magenta in hotspots

I am interested to know the result of your test too. I also saw the color derive with other camera models when I did the stereomaton. In the rush of the project, we added a custom color balance after the process of raspistill and it worked well except for blown out parts. I did not pay attention to ...
by stereomaton
Fri Jul 10, 2020 3:49 pm
Forum: StereoPi hardware
Topic: Octoprint and StereoPi
Replies: 3
Views: 2743

Re: Octoprint and StereoPi

I would have inverted the hard/cool qualifiers. SLP delivered with the stereopi already has a stream that can be played in browsers. The trick is to find a way to supply its address in octoprint. If you want the video independently, you can just open a new tab and enable streaming in the stereo pi w...
by stereomaton
Wed Jul 08, 2020 7:08 am
Forum: StereoPi hardware
Topic: Octoprint and StereoPi
Replies: 3
Views: 2743

Re: Octoprint and StereoPi

Not done myself. What are the technical specifications of the video stream awaited by octoprint?
by stereomaton
Wed Jul 08, 2020 6:43 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: apt-get update SLP image trouble
Replies: 8
Views: 4892

Re: apt-get update SLP image trouble

My answer was perhaps too laconic. fdisk is a low level utility that modifies the partition table. You can work on such low level, but with extra caution and by knowing how the system works. The step-by-step tutorial on your link (that I did not see at first read) is okay-ish, except that it destroy...
by stereomaton
Mon Jul 06, 2020 6:38 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: apt-get update SLP image trouble
Replies: 8
Views: 4892

Re: apt-get update SLP image trouble

On a Linux desktop with sd card reader, I used gparted with success. If you change the partition table with fdisk, you say where to search for new data but without moving the data themselves, hence the inability to boot.
by stereomaton
Mon Jun 22, 2020 1:54 pm
Forum: Your Project
Topic: IP address for StereoPi on Linux (Ubuntu 20.04)
Replies: 1
Views: 8727

Re: IP address for StereoPi on Linux (Ubuntu 20.04)

(this quick answer is not elaborated and without checking, but it may help you) On Linux, the .local domain naming is done with mdns / zeroconf / avahi (three terms for your searches). Perhaps that the service is not running or the configuration is not working on your system. Note: I do not know it ...
by stereomaton
Thu Jun 18, 2020 5:28 pm
Forum: Your Project
Topic: Another Stereoscopic Camera Project
Replies: 15
Views: 24436

Re: Another Stereoscopic Camera Project

There is no magic, it is the way all networks work. On your mobile, there are several network interfaces (depending on the context, there might be "data", wifi, bluetooth, usb, vpn...). Each one has its own range of IPs (address that corresponds to the device in this network + mask to know all IPs t...
by stereomaton
Wed Jun 17, 2020 9:42 am
Forum: Cameras and video capture modules
Topic: PiCamera preview hangs
Replies: 4
Views: 6010

Re: PiCamera preview hangs

Can you provide information about the system you are trying to run this code on? I remember a bug in the white balance in Raspberry's proprietary/opaque blob that produced similar effects (freeze on preview, only one photo possible). A temporary solution is proposed in this post: https://forum.stere...
by stereomaton
Tue Jun 16, 2020 10:07 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Python on SLP
Replies: 1
Views: 1964

Re: Python on SLP

Yes, of course you can. It is basically a raspbian, so you can do most of the things that you can do with a raspberry-pi, except for the ones that require hardware parts that are not present. It may require work, though. In particular, notice that the filesystem is locked and that the partition is r...
by stereomaton
Sat Jun 13, 2020 10:00 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: A physical button to take photos
Replies: 37
Views: 81420

Re: A physical button to take photos

Is it? You mean in my python scripts? I'm not sure I follow, on every example I can find online the shebang is always at the start of the path? Cna you send a few links where the shebang is placed differently please so I can learn better? As I said, perhaps not clearly enough, the shebang has to be...