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

Image from the video frame gets flipped while plotting #105

Closed abhisek-acharya closed 1 year ago

abhisek-acharya commented 1 year ago

You can check it here.

https://github.com/abhisek-acharya/NakkhuSecond/blob/main/NakkhuSecond

In the notebook all of the plots are flipped. If it is by default or some kind of issue?

hcwinsemius commented 1 year ago

Reference to likely similar issue where videos are sometimes stored in a rotated form. https://stackoverflow.com/questions/53097092/frame-from-video-is-upside-down-after-extracting

hcwinsemius commented 1 year ago

I will look into it

hcwinsemius commented 1 year ago

@abhisek-acharya thanks again for posting this issue. It took a while to get to it, but it should now be resolved. If you want to try it, you must remove any installed version with conda (after activating the right environment):

conda remove --force pyopenrivercam

And then get the latest source code from github. Go to the folder with the code, activate the conda environment and then type:

pip install .

abdataconsultant commented 1 year ago

Thanks @hcwinsemius. Will surely try.