55,000원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
질문있습니다.
영상처럼 그림 창 띄워서 마우스 커서에 따라 좌표랑 rgb 값 어떻게 표시하도록 할 수 있나요. 파이참에 텐서플로우 연동해서 쓰고 있고 os는 윈도우입니다.
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
커널 리스타팅
Imgshow 실행시 오류가 발생합니다. 실행환경은 호스팅업체에서 대여받은 우분투 가상서버에서 쥬피터노트북을 서비스하도록 설정한 환경입니다. 강의에서 사용한 imshow기능을 수행할때 커널리스타팅 오류가 발생합니다. 가상서버에서는 어떤처리를 해야 하나요?
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
startX, startY, endX, endY
위 값들은 사각형의 시작점과 끝점인데 사각형에는 꼭지점이 네개 있잖아요 (startX, startY) 가 왼쪽 위 꼭지점인가요? 아니면 왼쪽 아래 꼭지점인가요? (endX, endY) 는 그 대각선에 있는 점이겠죠?
- 해결됨[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
dnn 얼굴식별 코드 모르겠는 부분이 있습니다.
안녕하세요... haar 는 비교적 쉽게 이해를 했는데 dnn 은 이해가지 않는 부분이 많아 몇 가지 여쭤보려고 합니다. 첫번째 질문입니다. blob = cv2.dnn.blobFromImage(cv2.resize(frame, (300,300)), 1.0, (300, 300), (104.0,177.0, 123.0)) 이 코드말인데요. 제가 blobFromImage() 공식문서를 찾아보니까 첫번째 파라미터는 이미지를 넘긴 것 같고, 1.0 이란 건 scale factor 같고, (300,300) 은 size 같고 마지막 파라미터가 mean value 같은데요... 저 값은 도대체 어떻게 알아내서 파라미터로 넘기는거죠? 저 숫자들이 좀 뜬금없고 어디서 나왔는지 모르겠습니다.. 또한 RGB 순인지 BGR 순인지도 알려주세요. 두번째 질문은 위에 질문이랑 같은 코드에서, 숫자 300 보다 작은 수로 다 바꿔넣으면 에러가 나고 300보다 큰 수로 바꿔넣으면 잘 됩니다. 왜 그런걸까요 ? 그리고 실행했을 때 사진 사이즈가 너무 커서 그런데 좀 줄이려면 어떻게해야돼요? 세번째 질문은 for i in range(0, detections.shape[2]): confidence = detections[0,0,i,2] 이 코드인데.. shape[2] 에서 2 라는 숫자가 뭘 의미하는 거에요? 그리고 그 밑에줄은 아예 무슨 소리인지 이해가 잘 안갑니다. 대괄호 안의 값들 0,0,i,2 가 각각 뭘 의미하는지 모르겠습니다. 이 코드가 detections 들을 쭉 도는 건 직관적으로 이해가 가는데 저 값들이 뭘 의미하는지 모르겠어요. box = detections[0,0,i,3:7] * np.array([width,height,width,height]) 이 코드도 조금 자세한 설명을 듣고 싶습니다. 마지막 질문은 if 문인데 y = startY - 10 if startY - 10 > 10 else startY + 10 이게 startY-10 > 10 이라면 y = startY-10, 아니라면 startY+10 라는 뜻인건가요? 만약 이거라면 if(startY - 10 > 10) : y = startY - 10 else : y = startY + 10 이렇게 써야하는 거 아닌가요 ? 갑자기 내용이 좀 어려워져서 모르는 것도 많아지고 제 이해력도 점점 딸리는 것 같네요...ㅠ 감사합니다
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
실행하면 동영상속도가 느려지는데
버퍼링 걸려서 버벅이는건지 영상속도가 확 낮아지는데 고치려면 어떻게해야되나요?
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
안녕하세요~ dnn face_detect 관련 질문이 있습니다.
안녕하세요~ 질문이 있어서 글을 쓰게되었습니다. 현재 DNN 모델을 사용한 Face detect 예제를 다시 따라가고 있는데 다시 복습하면서 의문이 생겼습니다. 소스코드 중에 함수를 정의할 때, a. for i in range(0, detection.shape[:2]): -> 여기서 말하는 index 3번째까지의 내용이 무엇인지가 궁급합니다. b. conffidence 정의하는 구간에서 box = detection[0,0,i,3:7] 의 shape이 무엇을 뜻하는건지.. 사실 찾아도 잘 안나옵니다. 그래서 질문드렸어요! 3:7 슬라이싱 부분은 (X, Y, endX, endY)와 같은 튜플의 모양으로 나오는 것 같긴한데.. 예전 저희 이미지 이동했을 때 했던 것과 같은 메트릭스 형태인 것 같기도하고.. 아직 직관적으로 이해가 안됩니다. c. 또 caffe 모델을 윈도우 환경에서 어떻게 가져오는지 궁금합니다. 사실 https://github.com/sr6033/face-detection-with-OpenCV-and-DNN 깃허브에서 파일을 받긴했습니다. 근데 여쭤보고 싶었던 핵심은 coffe를 설치를 해야하는 것인지? 그 외에도, 가중치의 합이라고 설명 해주셨는데, 정확히 트레이닝된 데이터의 종합적인파일 인건지, 이 파일의 정체성이 무엇인지 파악이 안됩니다.. ㅜ 저 파일의 원래 source는 coffe 개발자 분들이 제공하는 건가요? 부탁드립니다~ ㅎ 항상 건강 조심하세요.
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
안녕하세요 질문 있습니다.
dlib을 설치하는데 계속 이런 에러가 떠서 찾아보고 해봤는데 계속 안되는데 왜 그런지 알려주실 수 있을까요.. (ComputerVision) usang-in-ui-MacBook-Pro:~ usang-in$ pip3 install dlib Collecting dlib Using cached https://files.pythonhosted.org/packages/63/92/05c3b98636661cb80d190a5a777dd94effcc14c0f6893222e5ca81e74fbc/dlib-19.19.0.tar.gz Building wheels for collected packages: dlib Running setup.py bdist_wheel for dlib ... error Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-wheel-ecxo61rx --python-tag cp36: running bdist_wheel running build running build_py package init file 'dlib/__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 03:02:14) Invoking CMake setup: 'cmake /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/lib.macosx-10.9-x86_64-3.6 -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_475b6/fast && xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) -- Configuring incomplete, errors occurred! See also "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeOutput.log". See also "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeError.log". Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 261, in <module> 'Topic :: Software Development', File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 188, in run self.run_command('build') File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 135, in run self.build_extension(ext) File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 172, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/lib.macosx-10.9-x86_64-3.6', '-DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1. ---------------------------------------- Failed building wheel for dlib Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib ... error Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-record-m5vnrry6/install-record.txt --single-version-externally-managed --compile: running install running build running build_py package init file 'dlib/__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 03:02:14) Invoking CMake setup: 'cmake /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/lib.macosx-10.9-x86_64-3.6 -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_0561c/fast && xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) -- Configuring incomplete, errors occurred! See also "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeOutput.log". See also "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeError.log". Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 261, in <module> 'Topic :: Software Development', File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/install.py", line 545, in run self.run_command('build') File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 135, in run self.build_extension(ext) File "/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py", line 172, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/tools/python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/build/lib.macosx-10.9-x86_64-3.6', '-DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1. ---------------------------------------- Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-record-m5vnrry6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/_2/f0m32tsj68sf2fx0l4nhmh7w0000gn/T/pip-install-trs12u8b/dlib/ You are using pip version 10.0.1, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
안녕하세요 질문 하나만 할게요..
영상이 세로로 긴(핸드폰 촬영) 경우 사람 인식이 안되는 것 같은데 혹시 이런 경우 어떤식으로 코드를 작성해야 되는지 알 수 있을까요..
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
강의자료
www.creapple.com에서 강의자료를 어떻게 받나요?
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
Kernel Restarting
이미지를 잘 가져왔는데, 이미지 창은 안뜨고 아래 메시지가 발생합니다. 혹시 무엇을 확인해야 할지 아시면 답변 부탁드려요. The kernel appears to have died. It will restart automatically.
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
face and eyes detect 하는 과정에서 질문이 있습니다.
안녕하세요. ㅎㅎ 덕분에 많이 배워가고 있습니다. 제가 궁금한 건 haar 방식의 얼굴 detect 하는 과정에서 얼굴을 MultiScale로 가져오고 for문 돌릴 때 faceROI = frame_gray[y:y+h,x:x+w] 이 소스코드가 이해되지 않습니다. ㅜ 왜 [x:x+w, y:y+h] 가 아닌가요? 근데 원래 되었던 eye detect 도 제가 여쭤본 위의 코드는 detect가 되지 않더군요. 궁금합니다.
- 해결됨[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
openCV설치 질문입니다.
윈도우 환경에서 ANACONDA 설치 후 opevCV 설치중인데 프록시 문제로 잘설치되고 있지 않습니다. openCV설치파일을 홈페이지에서 내려받아 설치 후 Jupyter notbook에세 사용하고싶은데 방법을찾지 못했습니다. openCV설치파일을 내려받아 설정하는 방법이 있을까요?
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
질문있습니다.
혹시 opencv/data/~~~밑에 자료가 어디 있는지 알 수 있을까요?? 다운받은 자료에는 없어서요..
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
dlib에서 오류가 뜹니다
dlib에서 오류가 뜹니다. dlib을 pip install 했어도, face_recognition을 import하면 dlib를 import할 수 없다고 합니다... 계속 다운로드하고 찾아보려고 하는데 안됩니다... 제 컴퓨터는 window10이고 dlib install 할때 "subprocess output does not appear to be encoded as cp949" 이러한 Warning 나오긴 했습니다.. 여기서 지나갈 수 없습니다 ㅠㅠ 어떻게 해야되나요? (추가수정) 제가 python 3.7버전은 안되서 3.6버전으로 하니깐 3.6버전에 맞는 whl파일을 직접 pip하니깐 되네요... 혹시 python 3.7버전으로 할 수 있는 방법 없나요? 보면 dlib에 __init__.py가 없더라고요... 설치가 다 끝나면 Lib 폴더 안에 site-packages 폴더안에 dlib이라는 폴더도 생성이 안되고 어떤 pyd 확장자 하나만 달랑 생성되더라고요... 부탁드립니다 ㅠ (추가수정) 노트북에서는 안되는데 다른 컴퓨터에서 한 때는 또 되내요... 뭐가 문제인지 모르겠어요... 그래서 그냥 다른 컴퓨터에서 만든 가상환경 가져와서 노트북에 넣어서 사용하고 있습니다... 전에 dlib때문에 뭐 설치해서 그런가 잘 모르겠어요...
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
mnist 오류
선생님 안녕하세요. 질문이 있습니다 100 mnist digit 실행하기 했는데 --------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-1-53a8acc96182> in <module> 28 ax.grid(which='major', alpha=0.5) 29 ---> 30 ax.imshow(x_test_original[selected_image], cmap=plt.cm.binary) 31 32 plt.show() NameError: name 'x_test_original' is not defined이 오류가 계속 뜨는데 왜 그런지 알 수 있을까요??
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
실습을 위한 파일 혹은 코드는 어디에서 찾을 수 있나요?
안녕하세요! 수업을 재미나게 따라가고 있는데, 실습을 위한 예제 파일이나 혹은 소스 코드는 따로 제공하지 않는 것인가요? 아니면 제가 못 찾고 있는 것인지...ㅠㅠ
- 미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
제가 지정한 물체를 학습시켜서 저만의 yolo를 만드는 법
제가 지정한 물체를 학습시켜서 저만의 yolo를 만드는 법도 알고 싶습니다 예를 들면 이마트에서 물품 바코드를 일일이 찍어서 시간이 걸리니깐 진열대 위에서 욜로를 통해 한번에 물체를 인식하여 가격을 합산하게 라즈베리파이 웹캠을 달아서 하고싶은데요 제가 지정한 제품들을 학습시키는 법 알려주세요~~ㅠㅠ
- 해결됨[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) 에서 에러가 뜹니다
안녕하세요. 강의 잘 보고 있습니다. 마지막에 예제로 보여주신 jupyter notebook상의 코드를 따라해서 구현해보았는데 5번째 줄에서 아래와 같은 에러가 발생합니다. --------------------------------------------------------------------------- error Traceback (most recent call last) <ipython-input-8-b7b4c86ca4bd> in <module> ----> 1 gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) error: OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'문제가 발생하는 이유와 해결방법이 있으신지 알려주시면 감사하겠습니다.