Skip to content

ValueError: zero-size array to reduction operation minimum which has no identity #4

@wladich

Description

@wladich

On version from master I get following output:

$ python stitch.py -i IMG_20170901_173311.JPG -c calib_data.json
Loaded calibration data..
Projecting fisheye images to equirectangular projection..
Projecting left fisheye image..
Projecting right fisheye image..
Done projecting, starting stitching..
Traceback (most recent call last):
  File "stitch.py", line 108, in <module>
    overlap_y_min = np.where(zero_channel == 0)[0].min()
  File "/home/w/tmp/FishPyPano/lib/python3.6/site-packages/numpy/core/_methods.py", line 29, in _amin
    return umr_minimum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation minimum which has no identity

Attached is archive with calibration points and calib_data

I created points with other tool, not html you provide, but result seems to be sane to me
data.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions