우분투 22.04 버전 apt-get update 에러 솔루션
·
Tips
1. mkdir ~/solution cd ~/solution/ 2. vi로 ~/solution/sources.list 연 다음에 아래 내용 넣고 저장 deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main r..
Ubuntu 기초 세팅 명령어 완전 정리
·
Tips
매번 도커파일 생성해서 우분투 컨테이너 만들기 귀찮으므로 여기에다 정리한다. (구글링으로 복붙한 도커파일은 최신 버전으로 작동 안해서 이렇게 작성한 이유가 크다..) 포너블 공부 때 내가 쓰는 툴 위주로 작성해놨다. github 링크가 날아가지 않는 이상 문제 없을 코드다. python3(만 쓰는 사람) & gdb-peda를 쓰는 사람들은 따로 설정 안하고 그대로 복붙한 후, 우분투 버전만 수정해주면 문제 없이 사용할 수 있을 것이다. FROM ubuntu:[원하는 우분투 버전] ARG DEBIAN_FRONTEND=noninteractive ENV TZ Asia/Seoul ENV PYTHONIOENCODING UTF-8 ENV LC_CTYPE C.UTF-8 WORKDIR /root RUN echo "Ac..
Weird Database
·
Dreamhack/WEB
보호되어 있는 글입니다.
Converting Audio into Text (with Predicting Punctuation / eng ver)
·
📄 Project/Edu_Siri
EDU_Siri program has a function that converts the instructor's voice into a text file and saves it. I thought I'd write down some of the things I learned and struggled with while implementing this feature. I can search "speech_recognition" library when googling. Initially, I decided to use this module, but there were two factors hat made it unsuitable for development. While googling about "speec..
Text Summarization Function (Extractive / eng ver)
·
📄 Project/Edu_Siri
The basic information about Text Summarization is described in here. There are many documents and description about Text Summarization, but no appropriate code so I made my own. Many documents that I found by googling take articles or journals and run text summarization in abstractive way. In my testing of various articles, I found that abstractive mode made the article easier to understand and ..
Note
·
Dreamhack/WEB
보호되어 있는 글입니다.
development-env
·
Dreamhack/WEB
보호되어 있는 글입니다.
Detecting Text & Getting Similarity between images
·
📄 Project/Edu_Siri
Edu_Siri에서 프로그램 동작 흐름은 아래와 같다. 원하는 동영상 삽입 -> 움직임 감지 및 화면 캡처 -> 캡처된 사진 간 유사도 비교 -> 글자 인식 움직임 감지 및 화면 캡처 관련은 이전 글을 참고하자. 이전 글에서 화면 캡처 시, 사용자가 디렉토리를 지정하면 지정된 이름으로 디렉토리 생성 후, 캡처본을 해당 파일 안에 저장한다. 이 캡처본을 훑으면서 이전 사진과 다음 사진 간의 유사도를 체크하면 된다 1. Check directory & Similarity between images # 파일 속 이미지들 모두 검사 def file_listing(path)->str: files = os.listdir(path) for i in range(1, len(files)): comparePic(path,..
Motion Change Detection Function
·
📄 Project/Edu_Siri
강의자의 수업 PPT 자료를 텍스트로 변환해주는 기능이 EDU_Siri에 존재한다. PPT 자료를 텍스트로 변환해주기 위해서는 PPT 내용의 변화가 있는 지 체크해야 한다. 만약 PPT 내용에 변화가 있을 시, PPT자료를 사진으로 찍어 저장-> 글자 인식 -> 텍스트 파일로 저장 하는 과정을 거친다. 여기서 PPT 내용에 변화가 있는 지 감지하고 움직임 포착 시, 해당 화면을 저장하는 함수가 motion change detection이다. 모션 캡쳐의 경우, 좋은 레퍼런스들이 많아서 알고리즘을 크게 바꾸거나 새로 구현할 필요가 없었다. 하지만, 일반 예제 코드들을 그대로 이용하면 프레임 단위로 사진을 저장해서 불필요할 정도의 많은 사진이 저장된다. 이는 용량 차지 문제와 프로그램 최적화 문제를 일으킨다..