Linux计算机视觉库opencv的编译安装

opencv是一个计算机视觉库,有c,c++,python多种接口,是学习计算机视觉的必备工具。

编译安装opencv3.0

yum groups install "Development Tools"
wget https://github.com/opencv/opencv/archive/3.0.0.tar.gz
tar -xvf 3.0.0.tar.gz
mv opencv-3.0.0 opencv
cd opencv && mkdir build -p 
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make && make install

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install opencv-python numpy

参考文档:
https://docs.opencv.org/3.0.0/d7/d9f/tutorial_linux_install.html

安装扩展模块opencv_contrib

wget https://github.com/opencv/opencv_contrib/archive/3.0.0.tar.gz
tar -xvf 3.0.0.tar.gz
mv opencv_contrib-3.0.0/ opencv_contrib
mv opencv_contrib/ opencv
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules/ ~/opencv/
make && make install

42 thoughts on “Linux计算机视觉库opencv的编译安装

  1. cheap jordans

    I found your blog website on google and examine a few of your early posts. Continue to keep up the excellent operate. I just extra up your RSS feed to my MSN Information Reader. In search of forward to reading more from you afterward!?

    Reply
  2. jordan 13

    After study just a few of the blog posts on your website now, and I really like your means of blogging. I bookmarked it to my bookmark website list and can be checking again soon. Pls take a look at my website online as nicely and let me know what you think.

    Reply
  3. nike flyknit

    The subsequent time I read a weblog, I hope that it doesnt disappoint me as much as this one. I imply, I do know it was my option to learn, but I truly thought youd have something interesting to say. All I hear is a bunch of whining about something that you can repair in the event you werent too busy searching for attention.

    Reply
  4. jordan 12

    Youre so cool! I dont suppose Ive read anything like this before. So nice to seek out somebody with some unique thoughts on this subject. realy thanks for beginning this up. this website is one thing that’s needed on the net, somebody with slightly originality. useful job for bringing one thing new to the web!

    Reply
  5. adidas pure boost

    I have to convey my gratitude for your kind-heartedness giving support to women who actually need help with this issue. Your special dedication to passing the solution throughout turned out to be certainly productive and have in every case permitted men and women much like me to reach their aims. This important tutorial signifies so much to me and extremely more to my peers. Thank you; from all of us.

    Reply
  6. adidas tubular

    I wanted to write you that bit of observation so as to thank you so much once again on the amazing methods you have shown above. It’s so particularly generous with you to deliver extensively exactly what a lot of people could have sold for an electronic book in making some money on their own, most notably considering that you might well have tried it in case you considered necessary. These creative ideas additionally acted to be the great way to comprehend other people have the same eagerness the same as my personal own to realize somewhat more with regard to this problem. I’m certain there are thousands of more enjoyable moments in the future for individuals that read carefully your site.

    Reply
  7. adidas nmd

    My spouse and i felt very comfortable that Peter could round up his homework from the ideas he had from your own web site. It’s not at all simplistic to just be offering helpful hints which usually the others could have been making money from. We really remember we’ve got the website owner to be grateful to because of that. The explanations you’ve made, the easy website menu, the friendships you will help to instill – it’s got most great, and it’s really letting our son and us imagine that this topic is satisfying, and that’s seriously fundamental. Many thanks for all the pieces!

    Reply
  8. kate spade outlet

    Thank you for all your valuable hard work on this blog. My daughter really likes carrying out investigations and it’s really easy to see why. Most of us know all concerning the compelling tactic you create both useful and interesting ideas by means of the blog and therefore improve response from others on that article while my princess is actually learning a lot of things. Take pleasure in the remaining portion of the new year. You’re doing a dazzling job.

    Reply
  9. adidas ultra boost

    My husband and i were quite comfortable when Michael could do his survey out of the ideas he had from your very own blog. It’s not at all simplistic to simply happen to be giving freely strategies which often some other people could have been selling. So we do know we have got you to be grateful to because of that. Most of the explanations you made, the easy web site navigation, the relationships you aid to promote – it is many amazing, and it is making our son and the family recognize that the issue is excellent, which is rather important. Thanks for everything!

    Reply
  10. red bottoms

    I just wanted to compose a comment so as to appreciate you for some of the lovely tips and tricks you are sharing at this website. My extended internet look up has finally been rewarded with pleasant details to share with my best friends. I would mention that many of us site visitors are quite blessed to dwell in a magnificent site with so many brilliant people with very helpful points. I feel very much privileged to have discovered your site and look forward to some more thrilling minutes reading here. Thanks a lot once more for all the details.

    Reply
  11. yeezy sneakers

    Needed to post you a little observation to help say thanks a lot the moment again with the great pointers you have contributed on this page. It was generous of you to offer without restraint just what some people would have sold for an electronic book to help with making some money for themselves, notably given that you could possibly have done it if you ever desired. Those tips as well acted to become a easy way to know that other people online have a similar keenness really like my personal own to figure out somewhat more when it comes to this matter. I know there are numerous more pleasurable periods ahead for those who scan through your blog.

    Reply
  12. yeezy boost

    A lot of thanks for all of the hard work on this web page. My aunt really likes engaging in investigation and it’s really obvious why. A number of us learn all of the compelling mode you provide very helpful secrets by means of your website and as well as foster contribution from other people on this concept then my child is actually studying a lot. Enjoy the rest of the new year. You are always performing a fantastic job.

    Reply
  13. kyrie irving shoes

    Thanks a lot for providing individuals with remarkably special possiblity to read critical reviews from this website. It really is so beneficial plus jam-packed with a good time for me and my office fellow workers to search your website a minimum of three times weekly to study the newest secrets you have got. And lastly, I’m also certainly contented with the powerful advice you serve. Selected two ideas on this page are undoubtedly the finest I’ve ever had.

    Reply
  14. ferragamo belt

    Thank you for your whole work on this site. My niece take interest in setting aside time for investigations and it’s really simple to grasp why. My spouse and i hear all about the lively medium you render rewarding tricks via the web site and therefore foster response from others on that point and our daughter is without question starting to learn a whole lot. Take advantage of the remaining portion of the year. You’re conducting a superb job.

    Reply
  15. goyard handbags

    I in addition to my friends were going through the nice advice located on the blog and then unexpectedly developed an awful feeling I never thanked the web blog owner for those secrets. Those young boys were definitely warmed to read through all of them and have in effect seriously been loving those things. Many thanks for truly being simply thoughtful as well as for making a decision on some exceptional subjects most people are really eager to discover. Our sincere regret for not saying thanks to sooner.

    Reply
  16. golden goose

    My spouse and i have been peaceful Albert managed to deal with his research using the ideas he had out of your blog. It is now and again perplexing to simply always be freely giving helpful hints that many other folks may have been making money from. And we remember we now have you to appreciate for that. All of the explanations you made, the simple web site menu, the friendships your site help create – it’s mostly awesome, and it’s making our son and our family feel that the issue is excellent, and that’s truly important. Thanks for everything!

    Reply
  17. adidas yeezy

    Thanks for all your valuable labor on this web page. My niece loves going through research and it’s easy to see why. My partner and i hear all about the dynamic way you offer helpful techniques by means of this web site and as well as boost contribution from visitors on this issue and our own child is without a doubt discovering so much. Take advantage of the rest of the year. Your performing a remarkable job.

    Reply
  18. kd 10

    I needed to create you the very little remark just to say thanks yet again with the pretty principles you have contributed here. This has been simply shockingly open-handed of you to provide publicly all that most of us could possibly have distributed as an e-book in order to make some profit on their own, even more so seeing that you could possibly have done it in case you desired. These tactics likewise acted as a good way to fully grasp someone else have the identical dream like mine to see many more with regards to this issue. I’m sure there are many more enjoyable occasions ahead for folks who discover your blog post.

    Reply
  19. hermes belts for men

    Thank you so much for providing individuals with such a wonderful possiblity to read articles and blog posts from here. It is often very good and as well , packed with a lot of fun for me and my office mates to search the blog nearly three times per week to find out the newest tips you have got. And definitely, I’m certainly impressed with all the fantastic suggestions served by you. Certain 2 points in this posting are rather the most impressive we have all ever had.

    Reply
  20. golden goose sneakers

    My spouse and i were absolutely ecstatic when Ervin could finish off his researching with the ideas he had in your site. It is now and again perplexing just to always be releasing tricks which many others might have been selling. And we discover we have got you to thank because of that. The main explanations you made, the simple blog navigation, the friendships your site give support to engender – it’s got all powerful, and it’s really leading our son in addition to us reason why the subject is interesting, and that is exceedingly fundamental. Thanks for everything!

    Reply
  21. nike hyperdunk

    I would like to voice my love for your generosity giving support to visitors who really want help with this important question. Your real dedication to getting the solution up and down appears to be astonishingly functional and has surely helped ladies much like me to achieve their endeavors. Your new warm and friendly help and advice signifies a great deal a person like me and additionally to my colleagues. Thank you; from each one of us.

    Reply
  22. michael kors handbags

    I want to express appreciation to you for rescuing me from this particular matter. Because of searching throughout the world-wide-web and seeing techniques which are not beneficial, I was thinking my entire life was well over. Existing without the presence of solutions to the problems you have fixed by way of your good guide is a crucial case, and the kind which may have in a wrong way damaged my career if I hadn’t encountered the website. Your own natural talent and kindness in touching every aspect was invaluable. I am not sure what I would’ve done if I had not discovered such a solution like this. I can at this moment relish my future. Thanks a lot very much for this reliable and amazing help. I will not think twice to refer your site to anyone who should receive tips about this subject matter.

    Reply
  23. yeezy shoes

    I must get across my passion for your generosity giving support to those individuals that really need help on in this issue. Your personal dedication to passing the message all over became rather informative and has regularly allowed folks much like me to reach their desired goals. Your personal important guideline entails a great deal a person like me and even further to my office colleagues. Regards; from each one of us.

    Reply
  24. balenciaga shoes

    I simply wanted to post a small comment to be able to express gratitude to you for these awesome concepts you are writing here. My rather long internet lookup has at the end been rewarded with good quality facts and techniques to go over with my friends and classmates. I ‘d express that we site visitors actually are definitely lucky to be in a useful place with so many special people with very helpful strategies. I feel quite blessed to have encountered your entire website page and look forward to plenty of more enjoyable moments reading here. Thank you once more for all the details.

    Reply
  25. retro jordans

    I must show thanks to you for rescuing me from this type of issue. After browsing throughout the online world and coming across concepts that were not powerful, I was thinking my entire life was done. Being alive devoid of the strategies to the difficulties you have solved all through your main site is a serious case, and the ones that would have in a negative way affected my career if I hadn’t discovered your blog post. Your main know-how and kindness in dealing with all things was invaluable. I’m not sure what I would’ve done if I had not discovered such a stuff like this. It’s possible to at this time look ahead to my future. Thanks so much for the high quality and amazing help. I will not think twice to recommend the website to any person who needs and wants recommendations about this matter.

    Reply
  26. salvatore ferragamo belt

    I wish to show my passion for your kind-heartedness in support of individuals who absolutely need help with that question. Your real commitment to getting the solution around had been pretty invaluable and has consistently permitted somebody just like me to attain their dreams. Your informative facts indicates this much to me and even more to my mates. Regards; from everyone of us.

    Reply
  27. michael kors outlet online

    I’m writing to make you understand what a perfect discovery my wife’s child gained reading yuor web blog. She picked up a wide variety of things, not to mention what it’s like to have an ideal coaching nature to let other individuals effortlessly completely grasp specific specialized things. You undoubtedly did more than her expected results. Many thanks for presenting such helpful, healthy, revealing as well as easy guidance on this topic to Gloria.

    Reply
  28. calvin klein outlet online

    I want to express my affection for your generosity supporting men who absolutely need assistance with this one subject. Your real dedication to passing the message all over was incredibly insightful and has without exception helped those like me to arrive at their ambitions. Your entire helpful report means a whole lot a person like me and even further to my fellow workers. Best wishes; from everyone of us.

    Reply
  29. yeezy

    My husband and i were so joyous that Raymond could finish up his research from your ideas he received using your web page. It is now and again perplexing to just choose to be giving for free instructions which often most people could have been making money from. And now we do understand we need the blog owner to thank because of that. The most important explanations you’ve made, the easy website navigation, the friendships your site help to instill – it’s all wonderful, and it’s making our son in addition to us feel that this matter is pleasurable, which is certainly quite mandatory. Many thanks for the whole lot!

    Reply
  30. longchamp bags

    A lot of thanks for all of your effort on this website. My mom delights in carrying out investigation and it’s obvious why. My partner and i learn all relating to the powerful mode you render powerful guidance through this web blog and even boost response from people on this point and our child is truly starting to learn a whole lot. Take advantage of the rest of the year. You are always performing a very good job.

    Reply
  31. nike air max 90

    Thank you for your entire efforts on this blog. My mom take interest in engaging in investigation and it is simple to grasp why. My partner and i notice all about the powerful method you convey important guides via your web site and improve participation from the others about this matter plus my child is without a doubt learning so much. Enjoy the rest of the year. You’re performing a fantastic job.

    Reply
  32. pandora jewelry

    I definitely wanted to write a brief comment to be able to say thanks to you for all the superb points you are giving here. My considerable internet lookup has at the end been rewarded with high-quality insight to exchange with my partners. I ‘d state that that most of us website visitors are undeniably blessed to live in a wonderful site with many special professionals with great tips. I feel truly fortunate to have used your entire site and look forward to plenty of more excellent moments reading here. Thanks once more for a lot of things.

    Reply
  33. mlb jerseys

    I must get across my love for your kind-heartedness giving support to those people who must have help on in this topic. Your personal dedication to getting the solution all through ended up being surprisingly good and has surely permitted employees just like me to arrive at their desired goals. Your amazing informative facts indicates a lot to me and much more to my peers. Thank you; from everyone of us.

    Reply
  34. golden goose outlet

    I enjoy you because of all your efforts on this web site. Kim delights in getting into investigations and it is easy to see why. All of us notice all relating to the dynamic means you deliver powerful tips on your web blog and inspire response from other ones on this issue while our own princess is truly starting to learn a whole lot. Take advantage of the rest of the new year. You are carrying out a great job.

    Reply
  35. jordan shoes

    I wish to convey my admiration for your generosity giving support to visitors who really need help on this particular question. Your personal dedication to passing the message all through has been extraordinarily good and has made professionals like me to reach their pursuits. Your entire insightful recommendations denotes much a person like me and substantially more to my colleagues. Thanks a lot; from all of us.

    Reply
  36. links of london

    I happen to be commenting to let you be aware of of the amazing discovery my wife’s princess enjoyed viewing the blog. She figured out some things, with the inclusion of what it is like to have a marvelous coaching mindset to make men and women just know just exactly specified complex things. You really exceeded readers’ desires. Thank you for supplying such interesting, trusted, explanatory and as well as easy guidance on your topic to Julie.

    Reply
  37. yeezy

    My wife and i were relieved Chris managed to do his homework from the precious recommendations he made from your very own blog. It’s not at all simplistic to simply possibly be giving out things that many most people may have been making money from. And we also do understand we need the blog owner to give thanks to because of that. The entire explanations you have made, the simple web site menu, the friendships your site aid to create – it is most overwhelming, and it’s really assisting our son and us reason why the issue is brilliant, and that’s extremely vital. Thank you for all!

    Reply
  38. moncler sale

    I want to express my appreciation to the writer for bailing me out of this challenge. Just after searching through the online world and obtaining solutions that were not helpful, I assumed my entire life was gone. Existing minus the approaches to the difficulties you’ve solved all through the short post is a crucial case, as well as those that would have in a negative way damaged my entire career if I had not discovered your blog post. Your own knowledge and kindness in playing with a lot of stuff was valuable. I’m not sure what I would’ve done if I had not discovered such a point like this. I am able to at this time look ahead to my future. Thanks for your time very much for your specialized and sensible help. I won’t hesitate to suggest your web page to any person who needs to have guidelines on this area.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *