官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 武功县| 普洱| 晋城| 吉木乃县| 屏东县| 大石桥市| 西贡区| 茶陵县| 沅陵县| 四子王旗| 太谷县| 招远市| 黑水县| 淳化县| 武穴市| 梅州市| 延吉市| 定南县| 寻乌县| 诏安县| 马鞍山市| 邳州市| 鹿泉市| 义乌市| 积石山| 桂平市| 金山区| 云和县| 泸水县| 醴陵市| 中方县| 囊谦县| 大悟县| 汉阴县| 高安市| 察雅县| 涞水县| 田东县| 新泰市| 正安县| 西城区|