Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install openCv for learning purpose and then using it for OCR(Optical Character Recognition) but i am unable to install it in Ubuntu 12.04

I am following this link and able to carry upto step of downloading ffmpeg but while configuring it getting following error

ERROR: libmp3lame >= 3.98.3 not found

I tried to install libmp3lame following this link but get this error again when configuring ffmpeg

ERROR: libmp3lame >= 3.98.3 not found
share|improve this question
    
Don't follow a link. It's in repository. Just use apt-get. –  hbdgaf Jul 2 '13 at 12:20
    
its not working, apt-get install libmp3lame, giving error E: Invalid operation libmp3lame –  shailendra Jul 2 '13 at 12:46
3  
Not lame, opencv. I have it installed on 12.04 via apt-get install python-opencv and it works fine. –  hbdgaf Jul 2 '13 at 12:47
add comment

1 Answer 1

To install OpenCV using the terminal on Ubuntu:

$ su -
# apt-get update
# apt-get install build-essential
# apt-get install libavformat-dev
# apt-get install x264 v4l-utils ffmpeg
# apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv \
   opencv-doc libcv-dev libcvaux-dev libhighgui-dev

http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.