Search code examples
pythonopencvimage-processingmotion-blur

How to motion deblur an image using OpenCV and Python?


So I have been asked to motion deblur a frame captured from a video, I am kind of new to this deblur filters so need help. The video does not contain any noise, just a vertical motion blur. I am not allowed to use skimage, or any other library except cv2. It would be a great help even if what technique or function I have to use comes to know. Thanks!


Solution

  • You can use the Motion Deblur Filter of opencv, if you specifically want to use opencv. Following is the link to its documentation, which is fairly easy to understand: http://amroamroamro.github.io/mexopencv/opencv/weiner_deconvolution_demo_gui.html

    You can go for skimage as well. It has many function like deconvolution which can help in deblurring images.