이미지 주변을 Blurring하는 효과 만들기
Reference
https://github.com/kairess/Mask_RCNN/blob/master/samples/demo.ipynb
kairess/Mask_RCNN
Make outfocus image from non-outfocused image with Mask R-CNN and OpenCV - kairess/Mask_RCNN
github.com
Image blurring 수행시 Error 발생
참고
I'm getting an error during the gaussian blur of an image using opencv in python. The code was working properly before and error
I have written the following code: import cv2 import lxml.etree as xml import os import shutil for filename in os.listdir(paths['labels']): with open(paths['labels']+filename,'r'): ...
stackoverflow.com
결론
허무하게도 Error의 원인은 코딩 실수에 있었다.
3D Array를 가지고 GaussianBlur를 진행해야 하는데, 실수로 "s"를 추가로 입력해 4D Array가 Input으로 입력되었다.
그래서 Error 발생하였음
'Machine Learning > Mask_RCNN' 카테고리의 다른 글
Image Blurring Clone (0) | 2020.08.09 |
---|