localdevices / pyorc

Surface velocity, object tracking, and river flow measurements in an open-source API
GNU Affero General Public License v3.0
129 stars 31 forks source link

After projection, only black values found #164

Closed hcwinsemius closed 1 month ago

hcwinsemius commented 1 month ago

How did you install pyopenrivercam (mamba / conda or pip)

pip

What is the problem?

After certain transformations and projection, images are entirely black, causing no results in the velocimetry.

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a video, if possible include a copy of your dataset uploaded on Dropbox, Google Drive, or other)

For frames, use the following settings

{
 "frames": {
    "time_diff": {
      "thres": 5
    },
    "minmax": {
      "min": 5
    },
    "project": {
      "method": "numpy"
    }
  }
}

This only occurs irregularly with specific videos.