본문 바로가기

OpenCVError: Unsupported format or combination of formats 문제 해결 사용환경: 리눅스 우분투 9.10 커널: 2.6.31 openCV: 2.0 Learning openCV 제대로 배우기 예제 2-10를 예를 들자면 //usage: ex2-10 // argv[1]: input video file name // argv[2]: output video file name #include "cv.h" #include "highgui.h" int main(int argc, char* argv[]) { CvCapture* capture = cvCreateFileCapture( argv[1]); if(!capture) return -1; IplImage* bgr_frame = cvQueryFrame(capture); //video initialize double fps = cvGetC.. 더보기
우분투(unbuntu 9.10) 영문판 한글 입력 8.04 던가 하여간 그 쪽 버전에서는 명령어서 설치를 하고 소스 파일에 몇가지를 추가해주어야 하는 불편함이 있었는데 9.10에서는 설치가 간편해 졌다. [System] - [Administration] - [Language Support] - [Install / Remove Languages...] - Korean 설치 sudo apt-get remove ttf-wqy-microhei ttf-wqy-zenhei 으로 필요 없는 패키지를 삭제하고 [System] - [Preferences] - [IBus Preferences] - [Input Method] - Korean - Hangul 을 추가하면 crtl + space 키를 누르면 한글을 사용할 수 있다. 터미널 창에서는 안되고 firefox나 문서.. 더보기
우분투 Unable to copy the user's Xauthorization file 문제 Failed to run ~~~~ as user root 라고 뜨는 경우는 일단 어떤 설치를 할 때 비밀 번호 묻는게 떠야 하는데 안뜬다 구체적인 이유는 모르겠지만 이런식으로 설치가 안될때는 제부팅이 최고다! 더보기