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

Incorrect projection in plots on command line #165

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?

When running a full recipe on command line, using frames.project(method="numpy") then in plotting, the default method="cv" is incorrectly used.

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)

As the cv projection does not give correct results with parts of the bounding box lying outside of the image frame, make any camera config with significant part of the area of interest outside of the image frame.