GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — code/Chapter1_AndroidCartoonifier/README.txt at master · vandii/code Expand file tree/ Copy pathREADME.txtMore file actions executable file ·67 lines (53 loc) · 2.88 KB / Copy pathREADME.txtFile metadata and controlsexecutable file ·67 lines (53 loc) · 2.88 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 ****************************************************************************** * Cartoonifier, for Desktop or Android. ****************************************************************************** * by Shervin Emami, 5th Dec 2012 * http://shervinemami.info/openCV.html ****************************************************************************** * Ch1 of the book "Mastering OpenCV with Practical Computer Vision Projects" * Copyright Packt Publishing 2012. * http://www.packtpub.com/cool-projects-with-opencv/book ****************************************************************************** This folder contains 2 Cartoonifier projects, performing the same task: "Cartoonifier_Desktop": A desktop program (works on Windows, Mac, Linux, etc). "Cartoonifier_Android": An Android app (requires Android 3.0 SDK or higher, and an Android 2.2 device or higher). Cartoonifier_Android is a GUI wrapper, so it accesses some of the same C/C++ files in the Cartoonifier_Desktop folder: "cartoon.cpp" & "cartoon.h": all of the Cartoonifier image processing. "ImageUtils_v0.7.cpp" & "ImageUtils.h": useful functions for debugging OpenCV code. Each project has code for its user interface and the project files in its own folder: "Cartoonifier_Desktop" just uses the file "main_desktop.cpp" for its OpenCV user interface on a desktop. It includes a CMake project file to allow building with different compilers & versions for Windows, Mac, Linux, etc. "Cartoonifier_Android" has an Android folder tree for its Android user interface, including: Java files in the "src" folder, C/C++ NDK files in the "jni" folder, app resources in the "res" folder. It includes an Eclipse project, that you can use for Android cross-development on Windows, Mac & Linux. ---------------------------------------------------------- Building the Cartoonifier_Desktop project using CMake from the command-line: ---------------------------------------------------------- Linux: export OpenCV_DIR="~/OpenCV/build" mkdir build cd build cmake -D OpenCV_DIR=$OpenCV_DIR .. make MacOSX (Xcode): export OpenCV_DIR="~/OpenCV/build" mkdir build cd build cmake -G Xcode -D OpenCV_DIR=$OpenCV_DIR .. open Cartoonifier_Desktop.xcodeproj Windows (MS Visual Studio): set OpenCV_DIR="C:\OpenCV\build" mkdir build cd build cmake -G "Visual Studio 9 2008" -D OpenCV_DIR=%OpenCV_DIR% .. start Cartoonifier_Desktop.sln ---------------------------------------------------------- Running the project: ---------------------------------------------------------- Just execute "Cartoonifier_Desktop". ---------------------------------------------------------- Building & Running the Cartoonifier_Android project: ---------------------------------------------------------- Follow the steps recommended in Chapter 1 of the book. |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |