Open ReclusiveEagle opened 2 years ago
Could you please provide more information like the script you use and your VS configuration?
Portable VapourSynth R57 with embeded Python 3.9.7 Numpy is installed along with C2V
current script is: import vapoursynth as vs import havsfunc as haf import vsutil import kagefunc as kg import adjust import muvsfunc as mv import edi_rpow2 as edi import numpy as np import cv2 import muvsfunc_numpy as mufnp import functools import fvsfunc as fv
from vapoursynth import core core = vs.core
Source = core.ffms2.Source(source=r'My Video's Location.mkv')
def canny_core(img): blur = cv2.GaussianBlur(img, ksize=(7, 7), sigmaX=1) edge = cv2.Canny(blur, threshold1=1.0, threshold2=8.0) return edge
output = mufnp.numpy_process(gray, canny_core)
I'm literally just using test examples from the https://github-wiki-see.page/m/WolframRhodium/muvsfunc/wiki/OpenCV-Python-for-VapourSynth page to see if OpenCV is working correctly.
OpenCV is not the issue. And I don't know why muvsfunc_numpy throws definition error messages when I can't find anything wrong in the .PY
Not sure, you can simply copy the code (L34-L189) to your script to test OpenCV first.
AttributeError: module 'muvsfunc_numpy' has no attribute 'numpy_process'