For this book's purposes, building redistributables of Python projects is an optional topic. PyInstaller, a cross-platform tool used for bundling Python scripts, libraries, and data as redistributable apps, such that users machines do not require installations of Python, OpenCV, and other libraries. Popular libraries such as NumPy (for numeric functions), SciPy (for numeric and scientific functions), Requests (for web requests), and wxPython (for cross-platform GUIs). (Python 2.6 is also supported by the stable branch.) At the time of writing, the best option is to use version 2.7 as it is the most recent Python version supported by OpenCV's stable branch. We will use either MacPorts or Homebrew.Ī Python 2.7 development environment. On Mac, we will use a third-party package manager to help us install libraries and their dependencies. On Linux, we will use GCC, which comes as standard. Alternatively, Windows users can follow Kevin Hughes' helpful tutorial on setting up OpenCV with MinGW and the Code::Blocks IDE at. On Windows, we will use Visual Studio 2010 or a later version. Although Q and I live for the big event of setting up multiple technologies at once, you could just skim this chapter and refer back to it later when the tools become useful, one by one, in our projects.Ī C++ development environment. If you find yourself a bit daunted by the extent of this setup chapter, be reassured that not all of the tools are required and no single project uses all of them in combination. You will even know a bit about Unity, a game engine into which we can integrate OpenCV. You will also be the proud new user of a Raspberry Pi single-board computer (this additional hardware is optional). This is the setup chapter.īy the end of this chapter, you will obtain all the tools to develop OpenCV applications in C++ or Python for Windows, Mac, or Linux, and in C++ or Java for Android. It uses several of the computer's senses, but especially uses computer vision to breathe new life into the humdrum, heterogeneous clutter of devices that surround us.īefore Agent 007 runs amok with the gadgets, he is obligated to listen to Q's briefing. It presents weird and wonderful applications that we can deploy in unexpected places. This book embraces multi-platform development. We must not be afraid to try new platforms and consider new ways to combine them. Smart glasses are becoming more affordable. The toddler has a LeapFrog learning tablet. The kids have three game consoles or five if you count the mobile versions. Mom and Dad's workplaces provide different platforms. Under one family's roof, we might find a mix of Windows, Mac, iOS, and Android devices. He cruises in a submarine car, he straps on a rocket belt, and oh, how he skis, how he skis! He always has the latest stuff and he is never afraid to put a dent in it, much to the dismay of Q, the engineer.Īs software developers in the 2010s, we are witnessing an explosion in the adoption of new platforms.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |