본문 바로가기

반응형

기타

(6)
[노션] 노션 상위 혹은 하위 페이지 공유 안하기!!! 노션 상위 페이지가 불필요하게 공유되는 현상이 있는데, 한글로 검색해봐도 딱히 자료가 없어서 공유한다. 여기서 위의 공유용문서까지 보이는 사태가 발생하고 있었는데... 이걸 어떻게 해결할 것인가? 답은 간단하다. 공유용 문서 탭에 들어간다 -> 여기서 아래 노션 공홈에서 얘기하는 것처럼 접근 제한을 준다. https://www.notion.so/help/sharing-and-permissions Guide to using Notion’s sharing and permission settings – Notion Help Center Be in complete control of who has access to your information and what level of access they have. L..
[opencv-python] 이미지 boundary detection, rectangle detection 이미지내 객체 사각형 테두리 만들기 일단 이미지를 불러옵니다. 이미지에서 한자 글자 외부에만 사각형을 빨간 테두리로 치는게 목표입니다. 한자 글자 사이사이 띄어진 여백때문에 경계가 나눠질 수도 있으므로 블러를 해줍니다. 여백이 너무 적어보여 여백을 추가해서 보다 실전에 가깝게 만들어줍시다. cv2.connectedComponentsWithStats를 이용해서 해당 영역의 x, y, w, h 좌표를 구합니다. 그리고 cv2.rectangle을 이용해서 이를 그려줍니다. 전체 코드는 아래에!! image = (plt.imread('dataset/茄/茄 22.png') * 255.).astype(np.uint8) image = cv2.resize(image, (256, 256)) plt.imshow(image) blur = cv2.Gaussia..
[flask] json 객체 등 javascript에서 flask, python으로 데이터 보내기 https://sncap.tistory.com/963
[flutter] 앱 개발하면서 삽질 했던 경우 consturctor를 제대로 알지 못해서... class ResultPage extends StatelessWidget { ResultPage( {@required this.BMIResult, @required this.interpretation, @required this.BMI }); final String BMIResult; final String BMI; final String interpretation; 위에 this가 들어가야하는데 this를 빼먹고 해서 자꾸 에러가 났음... 디버깅 에러는 없는데 이럴수가.. 내 1시간... 그리고 다른 삽질은 extract widget이 안돼서 직접 입력했는데 아무리 해도 안되더라 왠지 보니 constructor에서 ({})이거 인데 ()게만 초기화했더라..
[error handling] 0xc10100be python write video, cv2 video write가 안될때 0xc10100be 에러가 뜨면서 저장한 비디오가 실행이 안된다. 저장도 거의 안 된다. 6KB, 1KB 이런 식이다. 이럴 경우 어떻게 해결해야하나? 문제 원인) 바보 같은 실수를 한 게 gframe을 저장하려고 했단 것이다. frame은 (640, 480, 3)의 형태고 gframe은 (640, 480)이다. 흑백의 채널이 없는 이미지는 out.write(gframe)이 안 먹는다. 해결책 그냥 3채널의 frame을 write하자. https://github.com/ContinuumIO/anaconda-issues/issues/223 opencv - not writing output with cv2.VideoWriter.write · Issue #223 · ContinuumIO/anaconda-iss..
non manifold? manifold? 가 무엇인가 www.sculpteo.com/en/3d-learning-hub/create-3d-file/fix-non-manifold-geometry/ How to fix non-manifold geometry issues on 3D models Are you having some non-manifold geometry issues with your 3D model? Here are our tips to fix it and to prevent this from happening! www.sculpteo.com non-manifold geometry란 무엇인가? 2D로 펼쳐질 수없는 3D 형태 (펼쳐질 수 있단 건, 모든 normal vector가 한 방향을 가리킨 다는 의미) 3d printing에 왜 manifol..

728x90
반응형