lospooky / pyblur Goto Github PK
View Code? Open in Web Editor NEWblurring routines
License: MIT License
blurring routines
License: MIT License
Hi, it seems to work for grayscale images only? I get an error for RGB images.
Hi,
I was using pip3 install pyblur but found cannot import pyblur after the installation.
error is like:
ModuleNotFoundError: No module named 'LineDictionary'
This is due to the different syntax for py2 and py3. To fix this issue, 3 places needs to modified.
Then it should work.
File "C:/Users/15384/Desktop/deep_learning/end-to-end-for-chinese-plate-recognition/genplate.py", line 197, in generate
com = LinearMotionBlur_random(com)
File "C:\Users\15384\Desktop\deep_learning\end-to-end-for-chinese-plate-recognition\blur\linear_motion_blur.py", line 20, in LinearMotionBlur_random
return LinearMotionBlur(img, lineLength, lineAngle, lineType)
File "C:\Users\15384\Desktop\deep_learning\end-to-end-for-chinese-plate-recognition\blur\linear_motion_blur.py", line 25, in LinearMotionBlur
convolved = convolve2d(imgarray, kernel, mode='same', fillvalue=255.0).astype("uint8")
File "C:\Users\15384\Anaconda3\lib\site-packages\scipy\signal\signaltools.py", line 1033, in convolve2d
raise ValueError('convolve2d inputs must both be 2D arrays')
ValueError: convolve2d inputs must both be 2D arrays
The input image is (40, 148, 3).
Is this blur code only used to handle gray images ?
I read the code of linedictionary, but failed to figure out what it means? is there anything to support it?
It says "Disk" in the description, which I would assume is Disk Blur, but there is no Disk anything?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.