-
pyinstaller error (matplot lib 버전 문제)SW개발/Python 2020. 12. 3. 21:55
pyinstaller --onefile main.py로 실행파일을 생성할 때 다음과 같은 에러 메세지가 나왔다. 37342 INFO: Matplotlib backend "nbAgg": ignored No module named 'IPython' 39665 INFO: Matplotlib backend "Qt4Agg": ignored Failed to import any qt binding 41817 INFO: Matplotlib backend "Qt4Cairo": ignored cairo backend requires that pycairo>=1.11.0 or cairocffiis installed 44254 INFO: Matplotlib backend "Qt5Agg": ignored Failed to i..
-
Linux kernel 소스 코드 다운로드 및 매뉴얼SW개발/Linux 2020. 11. 30. 22:46
Linux kernel 소스 코드는 kernel.org에서 다운받을 수 있습니다. Latest Release 버튼을 클릭하면 현재 최신 버전인 5.9.11 (파일명: linux-5.9.11.tar.xz)을 다운받아서 사용할 수 있습니다. www.kernel.org/ Linux kernel 사용자 및 개발자를 위한 공식 문서는 다음의 경로에 있습니다. (한국어 버전은 지원하지 않는 것으로 보입니다.) www.kernel.org/doc/html/latest/index.html The Linux Kernel documentation — The Linux Kernel documentation This is the top level of the kernel’s documentation tree. Kernel do..
-
삼성 SW 역량테스트 A형 (Advanced 등급)자료구조&알고리즘 2020. 2. 7. 21:14
A형 역대 시험 문제 : https://royhelen.tistory.com/23 A형 시험 신청 방법 환경 등 자세한 설명 : https://eine.tistory.com/entry/%EC%82%BC%EC%84%B1-SW-%EC%97%AD%EB%9F%89-%ED%85%8C%EC%8A%A4%ED%8A%B8A%ED%98%95%EC%97%90-%EA%B4%80%ED%95%98%EC%97%AC-%EA%B3%B5%EB%B6%80%EB%B2%95 A형 공부방법 및 문제 풀이 방식: https://mark3236.tistory.com/entry/%EC%82%BC%EC%84%B1%EC%A0%84%EC%9E%90-SW-%ED%85%8C%EC%8A%A4%ED%8A%B8-A%ED%98%95-%EA%B3%B5%EC%B1%8..
-
Python 숏코딩을 위한 팁 정리SW개발/Python 2020. 1. 23. 22:23
** Python 강의를 기반으로 추후 기억해두고 싶은 내용을 정리한 문서입니다. 숏코딩을 위한 수업은 아니었지만 python 문법 강의에서 도움이 되었던 부분들을 정리했습니다. 1. look up table 활용하기 룩업테이블을 사용하는 것은 런타임에 계산하지 않고 미리 배열로 저장해둔 것을 활용하는 방식입니다. 예를 들어, 학생 성적을 구할 때 90~100 점은 A, 80~89점은 B, 70~79점은 C... 이런식으로 성적을 매긴다면, 이를 if문으로 일일히 나누지 않고 룩업 테이블을 만들어 활용할 수 있습니다. (참고) 인생의 절반 손해봤어요 def get_grade(score): return "FFFFFFDCBAA"[score//10] get_grade(91) + 딕셔너리를 활용하여 룩업 테이블..
-
OpenCV를 사용하지 않는 얼굴 검출 코드들SW개발/머신러닝 2020. 1. 19. 18:10
Face detection (얼굴 검출/얼굴 인식) 다양한 얼굴 검출 이론 정리: https://facedetection.com/algorithms/ SSR filter (얼굴의 특징을 담은 사각형들) 를 이용한 얼굴 인식 논문: https://www.design-reuse.com/articles/6899/real-time-face-detection-using-six-segmented-rectangular-filter-ssr-filter-real-time-face-detection-using-six-segmented-rectangular-filter-ssr-filter.html Haar cascade 논문 (Rapid Object Detection using a Boosted Cascade - Viola..
-
List Comprehension의 어원자료구조&알고리즘 2020. 1. 10. 00:36
Python의 "List Comprehension" Python의 list comprehension 표현을 공부하던 중, list comprehension이라는 표현 자체에 궁금증이 생겼다. list comprehension이란, 파이썬의 자료형 중 list 자료형을 [1,2,3,4,5] 이런 식으로 모든 요소를 직접 나열할 수도 있지만, [x for x in range(1, 6)] 과 같은 식으로 나타낼 수도 있다. 이러한 방법을 list comprehension이라고 한다. (list comprehension 에 대한 추가적 설명이나, 다른 자료형의 comprehension이 궁금하면 참고할 곳: https://mingrammer.com/introduce-comprehension-of-python/)..
-
-
Compiler 관련 링크임베디드/하드웨어 2019. 12. 15. 19:14
how compiler interpret variables 검색 결과 https://softwareengineering.stackexchange.com/questions/355059/how-are-variables-stored-in-a-language-compiler-or-interpreter How are variables stored in a language compiler or interpreter? Say we set a variable in Python. five = 5 Boom. What I'm wondering is, how is this stored? Does the compiler or interpreter just put it in a variable like so? varname = ..