实例介绍
1、Mastering OpenCV with Practical Computer Vision Projects 这本书的随书代码。 2、代码目录为: Chapter1_AndroidCartoonifier Chapter2_iPhoneAR Chapter3_MarkerlessAR Chapter4_StructureFromMotion Chapter5_NumberPlateRecognition Chapter6_NonRigidFaceTracking Chapter7_HeadPoseEstimation Chapter8_FaceRecognition Chapter9_
【实例截图】
【核心代码】
cb9d5944-7cde-4daa-9938-4590aba65ecf
└── code-master
├── Chapter1_AndroidCartoonifier
│ ├── Cartoonifier_Android
│ │ ├── AndroidManifest.xml
│ │ ├── jni
│ │ │ ├── Android.mk
│ │ │ ├── Application.mk
│ │ │ └── jni_part.cpp
│ │ ├── project.properties
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ └── icon.png
│ │ │ └── values
│ │ │ └── strings.xml
│ │ └── src
│ │ └── com
│ │ └── Cartoonifier
│ │ ├── CartoonifierApp.java
│ │ ├── CartoonifierViewBase.java
│ │ └── CartoonifierView.java
│ ├── Cartoonifier_Desktop
│ │ ├── cartoon.cpp
│ │ ├── cartoon.h
│ │ ├── CMakeLists.txt
│ │ ├── ImageUtils_0.7.cpp
│ │ ├── ImageUtils.h
│ │ └── main_desktop.cpp
│ ├── README.txt
│ └── screenshot.png
├── Chapter2_iPhoneAR
│ ├── Example_MarkerBasedAR
│ │ ├── Example_MarkerBasedAR
│ │ │ ├── AppDelegate.h
│ │ │ ├── AppDelegate.m
│ │ │ ├── BGRAVideoFrame.h
│ │ │ ├── CameraCalibration.cpp
│ │ │ ├── CameraCalibration.hpp
│ │ │ ├── cube.h
│ │ │ ├── DebugHelpers.hpp
│ │ │ ├── EAGLView.h
│ │ │ ├── EAGLView.m
│ │ │ ├── en.lproj
│ │ │ │ ├── InfoPlist.strings
│ │ │ │ ├── MainStoryboard_iPad.storyboard
│ │ │ │ └── MainStoryboard_iPhone.storyboard
│ │ │ ├── Example_MarkerBasedAR-Info.plist
│ │ │ ├── Example_MarkerBasedAR-Prefix.pch
│ │ │ ├── GeometryTypes.cpp
│ │ │ ├── GeometryTypes.hpp
│ │ │ ├── main.m
│ │ │ ├── Marker.cpp
│ │ │ ├── MarkerDetector.cpp
│ │ │ ├── MarkerDetector.hpp
│ │ │ ├── Marker.hpp
│ │ │ ├── SimpleVisualizationController.h
│ │ │ ├── SimpleVisualizationController.mm
│ │ │ ├── TinyLA.cpp
│ │ │ ├── TinyLA.hpp
│ │ │ ├── VideoSource.h
│ │ │ ├── VideoSource.mm
│ │ │ ├── ViewController.h
│ │ │ └── ViewController.mm
│ │ ├── Example_MarkerBasedAR.xcodeproj
│ │ │ ├── project.pbxproj
│ │ │ ├── project.xcworkspace
│ │ │ │ ├── contents.xcworkspacedata
│ │ │ │ └── xcuserdata
│ │ │ │ └── bloodaxe.xcuserdatad
│ │ │ │ └── UserInterfaceState.xcuserstate
│ │ │ └── xcuserdata
│ │ │ └── bloodaxe.xcuserdatad
│ │ │ ├── xcdebugger
│ │ │ │ └── Breakpoints.xcbkptlist
│ │ │ └── xcschemes
│ │ │ ├── Example_MarkerBasedAR.xcscheme
│ │ │ └── xcschememanagement.plist
│ │ ├── marker.png
│ │ ├── opencv2.framework
│ │ │ ├── Headers
│ │ │ ├── opencv2
│ │ │ ├── Resources
│ │ │ └── Versions
│ │ │ ├── A
│ │ │ │ ├── Headers
│ │ │ │ │ ├── calib3d
│ │ │ │ │ │ └── calib3d.hpp
│ │ │ │ │ ├── contrib
│ │ │ │ │ │ ├── contrib.hpp
│ │ │ │ │ │ ├── detection_based_tracker.hpp
│ │ │ │ │ │ ├── hybridtracker.hpp
│ │ │ │ │ │ ├── openfabmap.hpp
│ │ │ │ │ │ └── retina.hpp
│ │ │ │ │ ├── core
│ │ │ │ │ │ ├── core_c.h
│ │ │ │ │ │ ├── core.hpp
│ │ │ │ │ │ ├── cuda_devptrs.hpp
│ │ │ │ │ │ ├── devmem2d.hpp
│ │ │ │ │ │ ├── eigen.hpp
│ │ │ │ │ │ ├── gpumat.hpp
│ │ │ │ │ │ ├── internal.hpp
│ │ │ │ │ │ ├── mat.hpp
│ │ │ │ │ │ ├── opengl_interop.hpp
│ │ │ │ │ │ ├── operations.hpp
│ │ │ │ │ │ ├── types_c.h
│ │ │ │ │ │ ├── version.hpp
│ │ │ │ │ │ └── wimage.hpp
│ │ │ │ │ ├── features2d
│ │ │ │ │ │ └── features2d.hpp
│ │ │ │ │ ├── flann
│ │ │ │ │ │ ├── all_indices.h
│ │ │ │ │ │ ├── allocator.h
│ │ │ │ │ │ ├── any.h
│ │ │ │ │ │ ├── autotuned_index.h
│ │ │ │ │ │ ├── composite_index.h
│ │ │ │ │ │ ├── config.h
│ │ │ │ │ │ ├── defines.h
│ │ │ │ │ │ ├── dist.h
│ │ │ │ │ │ ├── dummy.h
│ │ │ │ │ │ ├── dynamic_bitset.h
│ │ │ │ │ │ ├── flann_base.hpp
│ │ │ │ │ │ ├── flann.hpp
│ │ │ │ │ │ ├── general.h
│ │ │ │ │ │ ├── ground_truth.h
│ │ │ │ │ │ ├── hdf5.h
│ │ │ │ │ │ ├── heap.h
│ │ │ │ │ │ ├── hierarchical_clustering_index.h
│ │ │ │ │ │ ├── index_testing.h
│ │ │ │ │ │ ├── kdtree_index.h
│ │ │ │ │ │ ├── kdtree_single_index.h
│ │ │ │ │ │ ├── kmeans_index.h
│ │ │ │ │ │ ├── linear_index.h
│ │ │ │ │ │ ├── logger.h
│ │ │ │ │ │ ├── lsh_index.h
│ │ │ │ │ │ ├── lsh_table.h
│ │ │ │ │ │ ├── matrix.h
│ │ │ │ │ │ ├── miniflann.hpp
│ │ │ │ │ │ ├── nn_index.h
│ │ │ │ │ │ ├── object_factory.h
│ │ │ │ │ │ ├── params.h
│ │ │ │ │ │ ├── random.h
│ │ │ │ │ │ ├── result_set.h
│ │ │ │ │ │ ├── sampling.h
│ │ │ │ │ │ ├── saving.h
│ │ │ │ │ │ ├── simplex_downhill.h
│ │ │ │ │ │ └── timer.h
│ │ │ │ │ ├── highgui
│ │ │ │ │ │ ├── cap_ios.h
│ │ │ │ │ │ ├── highgui_c.h
│ │ │ │ │ │ └── highgui.hpp
│ │ │ │ │ ├── imgproc
│ │ │ │ │ │ ├── imgproc_c.h
│ │ │ │ │ │ ├── imgproc.hpp
│ │ │ │ │ │ └── types_c.h
│ │ │ │ │ ├── legacy
│ │ │ │ │ │ ├── blobtrack.hpp
│ │ │ │ │ │ ├── compat.hpp
│ │ │ │ │ │ ├── legacy.hpp
│ │ │ │ │ │ └── streams.hpp
│ │ │ │ │ ├── ml
│ │ │ │ │ │ └── ml.hpp
│ │ │ │ │ ├── nonfree
│ │ │ │ │ │ ├── features2d.hpp
│ │ │ │ │ │ └── nonfree.hpp
│ │ │ │ │ ├── objdetect
│ │ │ │ │ │ └── objdetect.hpp
│ │ │ │ │ ├── opencv.hpp
│ │ │ │ │ ├── opencv_modules.hpp
│ │ │ │ │ ├── photo
│ │ │ │ │ │ ├── photo_c.h
│ │ │ │ │ │ └── photo.hpp
│ │ │ │ │ ├── stitching
│ │ │ │ │ │ ├── detail
│ │ │ │ │ │ │ ├── autocalib.hpp
│ │ │ │ │ │ │ ├── blenders.hpp
│ │ │ │ │ │ │ ├── camera.hpp
│ │ │ │ │ │ │ ├── exposure_compensate.hpp
│ │ │ │ │ │ │ ├── matchers.hpp
│ │ │ │ │ │ │ ├── motion_estimators.hpp
│ │ │ │ │ │ │ ├── seam_finders.hpp
│ │ │ │ │ │ │ ├── util.hpp
│ │ │ │ │ │ │ ├── util_inl.hpp
│ │ │ │ │ │ │ ├── warpers.hpp
│ │ │ │ │ │ │ └── warpers_inl.hpp
│ │ │ │ │ │ ├── stitcher.hpp
│ │ │ │ │ │ └── warpers.hpp
│ │ │ │ │ ├── video
│ │ │ │ │ │ ├── background_segm.hpp
│ │ │ │ │ │ ├── tracking.hpp
│ │ │ │ │ │ └── video.hpp
│ │ │ │ │ ├── videostab
│ │ │ │ │ │ ├── deblurring.hpp
│ │ │ │ │ │ ├── fast_marching.hpp
│ │ │ │ │ │ ├── fast_marching_inl.hpp
│ │ │ │ │ │ ├── frame_source.hpp
│ │ │ │ │ │ ├── global_motion.hpp
│ │ │ │ │ │ ├── inpainting.hpp
│ │ │ │ │ │ ├── log.hpp
│ │ │ │ │ │ ├── motion_stabilizing.hpp
│ │ │ │ │ │ ├── optical_flow.hpp
│ │ │ │ │ │ ├── stabilizer.hpp
│ │ │ │ │ │ └── videostab.hpp
│ │ │ │ │ └── world
│ │ │ │ │ └── world.hpp
│ │ │ │ ├── opencv2
│ │ │ │ └── Resources
│ │ │ │ └── Info.plist
│ │ │ └── Current
│ │ └── README.txt
│ └── screenshot.png
├── Chapter3_MarkerlessAR
│ ├── CMakeLists.txt
│ ├── README.txt
│ ├── screenshot.png
│ └── src
│ ├── ARDrawingContext.cpp
│ ├── ARDrawingContext.hpp
│ ├── ARPipeline.cpp
│ ├── ARPipeline.hpp
│ ├── CameraCalibration.cpp
│ ├── CameraCalibration.hpp
│ ├── CMakeLists.txt
│ ├── DebugHelpers.hpp
│ ├── GeometryTypes.cpp
│ ├── GeometryTypes.hpp
│ ├── main.cpp
│ ├── Pattern.cpp
│ ├── PatternDetector.cpp
│ ├── PatternDetector.hpp
│ ├── Pattern.hpp
│ ├── PyramidPattern.jpg
│ └── PyramidPatternTest.bmp
├── Chapter4_StructureFromMotion
│ ├── AbstractFeatureMatcher.cpp
│ ├── AbstractFeatureMatcher.h
│ ├── BundleAdjuster.cpp
│ ├── BundleAdjuster.h
│ ├── CMakeLists.txt
│ ├── Common.cpp
│ ├── Common.h
│ ├── Distance.cpp
│ ├── Distance.h
│ ├── FindCameraMatrices.cpp
│ ├── FindCameraMatrices.h
│ ├── GPUSURFFeatureMatcher.cpp
│ ├── GPUSURFFeatureMatcher.h
│ ├── IDistance.h
│ ├── IFeatureMatcher.h
│ ├── main.cpp
│ ├── MultiCameraDistance.cpp
│ ├── MultiCameraDistance.h
│ ├── MultiCameraPnP.cpp
│ ├── MultiCameraPnP.h
│ ├── OFFeatureMatcher.cpp
│ ├── OFFeatureMatcher.h
│ ├── pointcloud.ply
│ ├── README.txt
│ ├── RichFeatureMatcher.cpp
│ ├── RichFeatureMatcher.h
│ ├── screenshot.png
│ ├── SfMUpdateListener.cpp
│ ├── SfMUpdateListener.h
│ ├── Triangulation.cpp
│ ├── Triangulation.h
│ ├── Visualization.cpp
│ └── Visualization.h
├── Chapter5_NumberPlateRecognition
│ ├── CMakeLists.txt
│ ├── DetectRegions.cpp
│ ├── DetectRegions.h
│ ├── evalOCR.cpp
│ ├── main.cpp
│ ├── OCR.cpp
│ ├── OCR.h
│ ├── OCR.xml
│ ├── Plate.cpp
│ ├── Plate.h
│ ├── README.txt
│ ├── screenshot.png
│ ├── SVM.xml
│ ├── test
│ │ ├── 2715DTZ.jpg
│ │ ├── 3028BYS.JPG
│ │ ├── 3154FFY.JPG
│ │ ├── 3266CNT.JPG
│ │ ├── 3732FWW.JPG
│ │ ├── 5445BSX.JPG
│ │ ├── 7215BGN.JPG
│ │ ├── 8995CCN.JPG
│ │ ├── 9588DWV.jpg
│ │ ├── 9773BNB.jpg
│ │ ├── DSC_0562.jpg
│ │ └── DSC_0566.jpg
│ ├── trainOCR.cpp
│ ├── trainSVM.cpp
│ └── utils
│ ├── eval.sh
│ ├── renameFilesIt.sh
│ └── segmentAllFiles.sh
├── Chapter6_NonRigidFaceTracking
│ ├── README.txt
│ ├── screenshot.png
│ └── src
│ ├── CMakeLists.txt
│ └── opencv_hotshots
│ └── ft
│ ├── CMakeLists.txt
│ ├── exe
│ │ ├── annotate.cpp
│ │ ├── CMakeLists.txt
│ │ ├── train_face_detector.cpp
│ │ ├── train_face_tracker.cpp
│ │ ├── train_patch_model.cpp
│ │ ├── train_shape_model.cpp
│ │ ├── visualize_annotations.cpp
│ │ ├── visualize_face_detector.cpp
│ │ ├── visualize_face_tracker.cpp
│ │ ├── visualize_patch_model.cpp
│ │ └── visualize_shape_model.cpp
│ ├── face_detector.cpp
│ ├── face_detector.hpp
│ ├── face_tracker.cpp
│ ├── face_tracker.hpp
│ ├── ft_data.cpp
│ ├── ft_data.hpp
│ ├── ft.hpp
│ ├── patch_model.cpp
│ ├── patch_model.hpp
│ ├── shape_model.cpp
│ └── shape_model.hpp
├── Chapter7_HeadPoseEstimation
│ ├── 09-1m.jpg
│ ├── 09-2m.jpg
│ ├── 09-3m.jpg
│ ├── CMakeLists.txt
│ ├── main.cpp
│ ├── PAW.cpp
│ ├── PAW.h
│ ├── README.txt
│ ├── screenshot.png
│ ├── simple-aam.txt
│ ├── Triangle.cpp
│ └── Triangle.h
├── Chapter8_FaceRecognition
│ ├── CMakeLists.txt
│ ├── detectObject.cpp
│ ├── detectObject.h
│ ├── ImageUtils_0.7.cpp
│ ├── ImageUtils.h
│ ├── main.cpp
│ ├── preprocessFace.cpp
│ ├── preprocessFace.h
│ ├── README.txt
│ ├── recognition.cpp
│ ├── recognition.h
│ └── screenshot.png
├── Chapter9_FluidInteractionUsingKinect
│ ├── FluidSolver.cpp
│ ├── FluidSolver.h
│ ├── FluidSolverMultiUser.cpp
│ ├── FluidSolverMultiUser.h
│ ├── fluidWall_2.cpp
│ ├── fluidWall.cpp
│ ├── KinectController.cpp
│ ├── KinectController.h
│ ├── README.txt
│ └── screenshot.png
├── LICENSE.txt
└── README.md
59 directories, 309 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论