View Single Post
Old 30th October 2019, 17:23   #52  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
I get error with some sstr values like 0.1, 0.2

But 0.25, or 0.3, or 1, or 1.2 etc... will work

Quote:
File "PATH\finesharp.py", line 133, in sharpen
cstr = float(cstr)
TypeError: can't convert complex to float
Using this version 2019-10-10
https://gist.github.com/4re/8676fd350d4b5b223ab9

Code:
clip = core.std.BlankClip(width=640, height=480, format=vs.YUV420P8, fpsnum=24, fpsden=1, length=240, color=[128, 128, 128])
fs = finesharp.sharpen(clip, sstr=0.2)
poisondeathray is offline   Reply With Quote