개발(36)
-
Dictionary 클래스 python 및 dart 구현
Problem) 아래 테스트 코드를 패스할 Dictionary 클래스를 만들기! from class_dict import Dictionary def test_dictionary(): # Create a new instance of Dictionary dictionary = Dictionary() # Test add and get methods dictionary.add('apple', 'A fruit that grows on trees.') assert dictionary.get('apple') == 'A fruit that grows on trees.' # Test showAll and count methods dictionary.add('banana', 'A long curved fruit.') di..
2023.07.15 -
파이썬 개발자의 플러터 개발환경셋업 (MacOS, VSCode)
brew install --cask flutter # 플러터 및 다트 설치 flutter doctor flutter create tiktok_clone ''' VSCode Extension - dart - flutter VSCode setting - Dart: Preview Flutter Ui Guides - Dart: Preview Flutter Ui Guides Custom Tracking - Dart: Preview Hot Reload on Save Watvcher ''' Reference https://nomadcoders.co/flutter-for-beginners Flutter 로 웹툰 앱 만들기 – 노마드 코더 Nomad Coders Flutter for Beginners nomadcoder..
2023.06.26 -
라즈베리파이 VNC 'Cannot currently show the desktop' 해결
라즈베리파이에서 모니터없이 부팅해서 VNC로 화면을 보려하는데, VNC viewer 화면에 떡하니 Cannot currently show the desktop 이라고만 뜬다. 리모트 디스플레이가 안되는 거지 부팅은 정상으로 된 거라서, 터미널 콘솔로 접속한다. cd /boot # boot 디렉토리로 이동(change directory) sudo nano config.txt # nano 에디터로 config.txt 파일을 연다. config.txt 파일 내에서 아래 내용을 수정 및 저장한다. hdmi_force_hotplug=1 # 주석을 해제하면, hdmi 디스플레이(모니터)가 없어도 디스플레이(VNC화면)를 구성합니다. hdmi_group=2 # force_hotplug를 켰기 때문에 디스플레이 해상도..
2023.05.12 -
라즈베리파이 Global Shutter Camera 적용기
이번에 출시된 라즈베리파이 글로벌 셔터 카메라(이하 'GS카메라')를 테스트하게 되었다. 참고로 Raspberry Pi 4 Model B에서 진행했다. 기존에 HQ카메라를 사용하던 코드가 돌아갈 거라 기대한 내가 바보다 ㅠㅠ libcamera-hello --list-camera >> no camera enabled vcgencmd get_camera >> supported=1 detected=0 카메라가 인식되지 않는다..;; Then, please follow the relevant setup instructions for the libcamera software stack, and the Picamera2 Python library. - https://www.raspberrypi.com/documen..
2023.05.11 -
논문 리뷰. Efficient Adaptive Ensembling for Image Classification
Efficient Adaptive Ensembling for Image Classification 문장과 그 내용 모두 간결해서 정말 쉽게 읽을 수 있는 논문이다. EfficientNetB0 두개 앙상블 했을 뿐인데, 성능 개선이 대폭 이루어져 이게 실제로 되나 의심스러울 정도다. 코드 구현을 통해서 CIFAR-100 데이터셋으로 (B0 싱글 네트워크와 비교하며) 검증을 진행할 계획이다. 참조 * https://arxiv.org/abs/2206.07394 Abstract (초록) 근래 CV 연구는 엄청 복잡한 설계로 작은 성취를 얻는 데 그치나, 우리는 복잡한 설계없이 성능을 부스트하는 참신한 방법을 제안한다. the trend in Computer Vision is to achieve minor imp..
2023.03.21 -
pyusb가 연결 디바이스를 못찾는 에러 해결 (usb.core.NoBackend.Error: No backend available)
실행 코드 pip install pyusb pip install libusb import usb.core as usb_core usb_core.find() 에러메세지 usb.core.NoBackend.Error: No backend available 해결 libusb-1.0.dll 파일을 복사한다. (예. C:\Users\user\anaconda3\Lib\site-packages\libusb\_platform\_windows\x64\) System32 경로에 붙여넣기한다. (예. C:\Windows\System32\) 해결
2023.02.17