nihui / rife-ncnn-vulkan

RIFE, Real-Time Intermediate Flow Estimation for Video Frame Interpolation implemented with ncnn library
MIT License
822 stars 70 forks source link

Input ndarrays or bytes instead of files. #72

Closed NevermindNilas closed 10 months ago

NevermindNilas commented 10 months ago

Hi,

Has anyone tried modifying the code so that it supports numpy arrays or images bytes for processing instead of the current approach of .png files.

I tried looking into it but I do not have the necessary experience in cpp to modify the code to my will.

ArchieMeng commented 10 months ago

how about https://github.com/media2x/rife-ncnn-vulkan-python?

NevermindNilas commented 10 months ago

Seems to only support up to Python 3.10, I've tried building it for Python 3.11 but with no success. I am sure it's a me issue but I just couldn't motivate myself to look too deep into it. + It would be nice to have newer version of Rife but I am sure that's as easy as adding the wanted models folders after reading quickly through it.

ArchieMeng commented 10 months ago

This is so wired, because I am currently using it with the same version of python at 3.11. How about raise an issue on our project with the error logs attached so that I can assist with addressing the problems?

NevermindNilas commented 10 months ago

Sure will do later today.