Feature Matching은 두 사진의 공통점을 찾아내주는 건데, 뭘 예제로 하면 좋을까 하다가 월리를 찾아라 만한 예제는 또 없으리라는 생각에 돌려보았다. 코드는 다음과 같았다. 여기서도 오류는 있는지라, img3=cv2.drawMatches(img1,kp1,img2,kp2,matches[:10],None,flags=2) 코드로 바꿔줘야 했다. 앞번과 똑같은 오류인 걸 보니 버전 차이가 좀 있는 것 같다. 원본은 다음과 같고 결과는 다음과 같다 작아서 잘 안보이나 하겠지만 크게 보아도 별반 다를 거는 없이 그냥 망했다. 어제 애플 스토어를 방문하여 아이폰X를 보고 왔다. 희대의 얼굴인식을 시도해봤는데 고개를 돌리는대로 지문인식을 하듯이 얼굴을 읽는 모양새가 신기하였다만 opencv tutorial 에서 그 정도의 알고리즘을 기대하는 것은 무리였는가보다. 사진은 그냥 봤던거 자랑 ㅎ PS. Sift 로도 월리를 찾아보았다. 크기와 상관없이 feature matching 을 가능하게 해주는 코드니까 좀 더 낫겠지 싶었다. .
https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ 를 통해 데스크탑 버전을 다운로드 후 win32를 활용하여 파이 sd카드에 이미지를 구워준다. samjabrahams의 github에 나와있는 부분중에서 다운로드 받아야하는 파일을 약간 수정해 준다. 원래코드 (Not available) : wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl 수정된 코드 (Revised) : wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v0.11.0/tensorflow-0.11.0-py3-none-any.whl sudo pip3 install tensorflow-0.11.0-py3-none-any.whl python3를 실행하여 import tensorflow를 돌려본다 완성! ** 이 이전에 Python 3.6 으로 업그레이드를 시켜주자 라즈베리파이의 default는 3.5니까 문제가 생기는지도 모르겠다. $ wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz $ tar xf Python-3.6.5.tar.xz $ cd Python-3.6.5 $ ./configure $ make $ sudo make altinstall 위 코드들을 차례로 실행 후에 실행창에 python3.6 을 쳐 넣어서 관련 버전이 나오는지 확인한다 제대로 ...
Hope this help the students who study sound and vibration but don't have Chegg ID. Questions 1. What is the change in sound pressure level from a uniform radiating source, if (a) the intensity is doubled? (b) the pressure is doubled? (c) two more identical sources are added in locations equivalent to the first 2. Calculate the % of acoustical energy that must be removed to reduce a given SPL by 1dB; by 5dB; by 10dB 3. 80dB + 76dB = ? 4. You have available to you two pump styles : pump A at 80 l/s produces a 100 dBA SPL at a given point, and pump B at 40 l/s produces 90dBA under the same condition. From a noise control standpoint, what combination of pumps would be the most acceptable for developing a flow rate of 160 l/s? 5. The noise level from a power station with 10 identical transformers measured near some residential property line was found to be 54dB. The maximum permitted in this area i...
댓글
댓글 쓰기