Object Detection - Colab에서 tensorflow 다운그레이드시 오류 WARNING: The following packages were previously... WARNING: The following packages were previously imported in this runtime: [flatbuffers,keras,tensorflow,tensorflow_estimator,typing_extensions,wrapt]You must restart the runtime in .. 런타임 다시시작 한다. Object_Detection 2021.12.30
Object Detection 카메라 영상 디텍션 전체코드 더보기 더보기 더보기 더보기 import tensorflow as tf import os import pathlib import numpy as np import zipfile import matplotlib.pyplot as plt from PIL import Image import cv2 from object_detection.utils import ops as utils_ops from object_detection.utils import label_map_util from object_detection.utils import visualization_utils as viz_utils import time # 내 로컬에 설치된 레이블 파일을, 인덱스와 연결시킨다. PATH_TO_LABELS.. Object_Detection 2021.12.30
Object Detection 동영상 저장하는 코드 더보기 더보기 import tensorflow as tf import os import pathlib import numpy as np import zipfile import matplotlib.pyplot as plt from PIL import Image import cv2 from object_detection.utils import ops as utils_ops from object_detection.utils import label_map_util from object_detection.utils import visualization_utils as viz_utils import time # 내 로컬에 설치된 레이블 파일을, 인덱스와 연결시킨다. PATH_TO_LABELS = .. Object_Detection 2021.12.30
Object Detection 모델 변경하기 https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md 위의 사이트에서 모델을 가져올수있다. 선택한 모델 우클릭 링크 주소 복사 복사한 주소중 date 부분과 name부분만 모델불러오는 함수에서 바꿔준다. Object_Detection 2021.12.30
Object Detection Visual Studio 비주얼 스튜디오 opencv 오류 - cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-memyuvq3\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not imp.. openCV로 imread를 하고 imshow 메소드를 쓸 때 다음과 같은 에러가 발생한다. cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-memyuvq3\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or c.. Object_Detection 2021.12.30
Object Detection Visual Studio 비주얼 스튜디오 unicodedecodeerror 오류 'utf-8' codec can't decode byte 0xc1 in position 140 비주얼수튜디오코드로 오브젝트 디텍션중 'utf-8' codec can't decode byte 0xc1 in position 140 오류발생 제어판 > [국가 또는 지역] > [관리자 옵션] 탭 > [시스템 로캘 변경] > [ ] Beta : 세계 언어 지원을 위해 Unicode UTF-8 사용 -- 체크 하기 ==> 문제의 파일들이 정상적으로 열림. 해결된 것으로 보임 Object_Detection 2021.12.30