erget / StereoVision

Library and utilities for 3d reconstruction from stereo cameras.
http://erget.github.io/StereoVision
GNU General Public License v3.0
648 stars 268 forks source link

Images requirements #46

Open Zvyozdo4ka opened 3 weeks ago

Zvyozdo4ka commented 3 weeks ago

i am getting error Segmentation fault.

What is the requirement to the dimensions and size of images for calibrating and input images for point cloud?

DrBwts commented 3 weeks ago

You will have to provide a lot more information than that.

Zvyozdo4ka commented 3 weeks ago

You will have to provide a lot more information than that.

What kind of information? At which process and sizes of current images?

DrBwts commented 3 weeks ago

Your code, full error traceback, info on the machine you're running on, etc...

A segmentation fault is a memory/resource allocation issue, as such can have a number of causes. You'd need to narrow down what is throwing the error.

Zvyozdo4ka commented 2 weeks ago

Your code, full error traceback, info on the machine you're running on, etc...

A segmentation fault is a memory/resource allocation issue, as such can have a number of causes. You'd need to narrow down what is throwing the error.

there is not specific messages, just this, tried with different sizes and dimensions if file, it did not work


[1]    2468622 segmentation fault (core dumped)  tune_blockmatcher calibration test5

(stereo_camera) ➜  pothole tune_blockmatcher calibration test6
[1]    2472487 segmentation fault (core dumped)  tune_blockmatcher calibration test6

(stereo_camera) ➜  pothole images_to_pointcloud calibration test4/left.jpg test4/right.jpg output.ply
[1]    2473576 segmentation fault (core dumped)  images_to_pointcloud calibration test4/left.jpg test4/right.jpg output.ply

(stereo_camera) ➜  pothole images_to_pointcloud calibration test6/left.jpg test6/right.jpg output.ply
[1]    2473701 segmentation fault (core dumped)  images_to_pointcloud calibration test6/left.jpg test6/right.jpg output.ply ```
Zvyozdo4ka commented 2 weeks ago

information of my machine:

(stereo_2) ➜  ~ lsb_release -a
Description:    Ubuntu 22.04.5 LTS
Release:    22.04
Codename:   jammy

(stereo_2) ➜  ~ uname -r
6.8.0-48-generic

(stereo_2) ➜  ~ lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          48 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   24
  On-line CPU(s) list:    0-23
Vendor ID:                AuthenticAMD
  Model name:             AMD Ryzen 9 5900X 12-Core Processor

(stereo_2) ➜  ~ free -h
               total        used        free      shared  buff/cache   available
Mem:            31Gi       4.9Gi        13Gi       285Mi        12Gi        25Gi
Swap:          7.6Gi          0B       7.6Gi

(stereo_2) ➜  ~ lspci | grep -i vga
06:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] (rev a1)
DrBwts commented 2 weeks ago

Unfortunately @erget doesn't actively maintain this repository any more. As far as I'm aware there are no limitations on the image size as long as they are both the same size. I can only suggest you try it on different computer.