- OpenCV for Secret Agents
- Joseph Howse
- 231字
- 2021-08-06 19:30:48
Chapter 2. Searching for Luxury Accommodations Worldwide
Today the bridal suite, tomorrow a prison. A secret agent's sleeping arrangements are horribly unpredictable.
Each day someone in MI6 gets the job of booking a stellar hotel room and conversely, some evil henchman has to pick a warehouse or dilapidated apartment, plus a lamp, a chair, and implements of bondage. For mini missions or brief beatings, it is tolerable to leave the choice of venue to a fallible human being. However, for long-term rentals or acquisitions, would it not be wiser to develop a specialized search engine that takes the legwork and the guesswork out of the equation?
With this motivation, we are going to develop a desktop app called Luxocator: The Luxury Locator. This is a search engine that will find images on the web by keyword search and will classify each image as a "Luxury, interior" scene, "Luxury, exterior" scene, "Stalinist, interior" scene, or "Stalinist, exterior" scene, according to certain visual cues in the image.
Particularly, our classifier relies on comparing statistical distributions of color in different images or sets of images. This topic is called color histogram analysis. We will learn how to efficiently store and process our statistical model, and how to redistribute it along with our code in an application bundle.
Note
The completed project for this chapter can be downloaded from my website at http://nummist.com/opencv/7376_02.zip.
- Mastering OpenLayers 3
- OpenCV實(shí)例精解
- iOS開(kāi)發(fā)實(shí)戰(zhàn):從零基礎(chǔ)到App Store上架
- Neo4j Essentials
- aelf區(qū)塊鏈應(yīng)用架構(gòu)指南
- Windows Presentation Foundation Development Cookbook
- Learn React with TypeScript 3
- Python深度學(xué)習(xí):模型、方法與實(shí)現(xiàn)
- Geospatial Development By Example with Python
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)項(xiàng)目化教程
- PyQt編程快速上手
- 高效使用Greenplum:入門、進(jìn)階與數(shù)據(jù)中臺(tái)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程(第二版)
- ANSYS FLUENT 16.0超級(jí)學(xué)習(xí)手冊(cè)
- Three.js Essentials