Android Application Programming with OpenCV (Paperback)
暫譯: 使用 OpenCV 的 Android 應用程式編程 (平裝本)

Joseph Howse

買這商品的人也買了...

商品描述

 

Overview

  • Set up OpenCV and an Android development environment on Windows, Mac, or Linux
  • Capture and display real-time videos and still images
  • Manipulate image data using OpenCV and Apache Commons Math
  • Track objects and render 2D and 3D graphics on top of them
  • Create a photo-capture and photo-sharing app that supports a variety of filters with a real-time preview feature

In Detail

Take a smartphone from your pocket, and within a few seconds, you can snap a photo, manipulate it, and share it with the world. You have just achieved mass production of image data. With a computer vision library such as OpenCV, you can analyze and transform copious amounts of image data in real time on a mobile device. The upshot to this is that you, as developers, can provide mobile users with many new kinds of images, constantly highlighting certain visual features that are of artistic or practical interest. Android is a convenient platform for such experiments because it uses a high-level language (Java), it provides standardized interfaces for sharing image data between applications, and it is mostly open source, so everyone can study its implementation.

Android Application Programming with OpenCV is a practical, hands-on guide that covers the fundamental tasks of computer vision—capturing, filtering, and analyzing images-with step-by-step instructions for writing both an application and reusable library classes.

Android Application Programming with OpenCV looks at OpenCV's Java bindings for Android and dispels mysteries such as which version of these bindings to use, how to integrate with standard Android functionality for layout, event handling, and data sharing, and how to integrate with OpenGL for rendering. By following the clear, concise, and modular examples provided in this book, you will develop an application that previews, captures, and shares photos with special effects based on color manipulation, edge detection, image tracking, and 3D rendering.Beneath the application layer, you will develop a small but extensible library that you can reuse in your future projects. This library will include filters for selectively modifying an image based on edge detection, 2D and 3D image trackers, and adapters to convert the Android system's camera specifications into OpenCV and OpenGL projection matrices. If you want a quick start in computer vision for Android, then this is the book for you.

By the end of Android Application Programming with OpenCV, you will have developed a computer vision application that integrates OpenCV, Android SDK, and OpenGL.

What you will learn from this book

  • Install OpenCV and an Android development environment on Windows, Mac, or Linux
  • Capture, display, and save images
  • Make images accessible to other apps via Android's MediaStore and Intent classes
  • Integrate OpenCV events and views with Android's standard activity lifecycle and view hierarchy
  • Learn how OpenCV uses matrices to store data about images, recognizable features in images, and camera characteristics
  • Apply curves and other color transformations to simulate the look of old photos, movies, or video games
  • Apply convolution filters that sharpen, blur, emboss, or darken edges and textures in an image
  • Track real-world objects, especially printed images, in 2D and 3D space
  • Extract camera data from Android SDK and use it to construct OpenCV and OpenGL projection matrices
  • Render basic 3D graphics in OpenGL

商品描述(中文翻譯)

概述

- 在 Windows、Mac 或 Linux 上設置 OpenCV 和 Android 開發環境
- 捕捉和顯示即時視頻和靜態圖像
- 使用 OpenCV 和 Apache Commons Math 操作圖像數據
- 追蹤物體並在其上渲染 2D 和 3D 圖形
- 創建一個支持多種濾鏡並具備即時預覽功能的照片捕捉和分享應用程式

詳細內容

從口袋中拿出一部智能手機,幾秒鐘內你就可以拍攝照片、進行處理,並與全世界分享。你剛剛實現了圖像數據的批量生產。使用像 OpenCV 這樣的計算機視覺庫,你可以在移動設備上即時分析和轉換大量的圖像數據。這意味著,作為開發者的你,可以為移動用戶提供許多新型的圖像,不斷突顯某些具有藝術或實用價值的視覺特徵。Android 是進行此類實驗的便利平台,因為它使用高級語言(Java),提供標準化的接口以便在應用程式之間共享圖像數據,並且大部分是開源的,讓每個人都可以研究其實現。

《Android 應用程式編程與 OpenCV》是一本實用的手把手指南,涵蓋了計算機視覺的基本任務——捕捉、過濾和分析圖像,並提供逐步指導以編寫應用程式和可重用的庫類別。

《Android 應用程式編程與 OpenCV》探討了 OpenCV 在 Android 上的 Java 綁定,並解釋了如何選擇這些綁定的版本、如何與標準 Android 功能(如佈局、事件處理和數據共享)集成,以及如何與 OpenGL 集成以進行渲染。通過遵循本書中提供的清晰、簡潔和模組化的範例,你將開發一個可以預覽、捕捉和分享照片的應用程式,並基於顏色操作、邊緣檢測、圖像追蹤和 3D 渲染來添加特效。在應用層之下,你將開發一個小型但可擴展的庫,未來可以在你的項目中重用。這個庫將包括基於邊緣檢測選擇性修改圖像的濾鏡、2D 和 3D 圖像追蹤器,以及將 Android 系統的相機規格轉換為 OpenCV 和 OpenGL 投影矩陣的適配器。如果你想快速入門 Android 的計算機視覺,那麼這本書就是為你準備的。

在《Android 應用程式編程與 OpenCV》的結尾,你將開發出一個整合了 OpenCV、Android SDK 和 OpenGL 的計算機視覺應用程式。

你將從這本書中學到的內容

- 在 Windows、Mac 或 Linux 上安裝 OpenCV 和 Android 開發環境
- 捕捉、顯示和保存圖像
- 通過 Android 的 MediaStore 和 Intent 類使圖像可供其他應用程式訪問
- 將 OpenCV 事件和視圖與 Android 的標準活動生命週期和視圖層次結構集成
- 了解 OpenCV 如何使用矩陣來存儲有關圖像、可識別特徵和相機特性的數據
- 應用曲線和其他顏色變換來模擬舊照片、電影或視頻遊戲的外觀
- 應用卷積濾鏡來銳化、模糊、壓印或加深圖像中的邊緣和紋理
- 在 2D 和 3D 空間中追蹤現實世界的物體,特別是印刷圖像
- 從 Android SDK 中提取相機數據並用於構建 OpenCV 和 OpenGL 投影矩陣
- 在 OpenGL 中渲染基本的 3D 圖形

最後瀏覽商品 (20)