No description, website, or topics provided.
Branch: master
Clone or download
TomSteward Add 2 sample projects for GoogleMobileVision pod.
BarcodeDetector: This demo demonstrates basic barcode detection and
integration with AVFoundation. The app highlights barcodes in the
camerapreview frame.

MultiDetector: This demo demonstrates how to use the MultiDataOutput in
GoogleMVDataOutput pod to integrate both face and barcode detectors with
the video pipeline. The app draws overlay on top of detected barcodes
and faces.

Change-Id: I6d95a39a6294eb3a29baedb4d98d29aa864da29c
Latest commit 4a242dc May 16, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BarcodeDetectorDemo Add 2 sample projects for GoogleMobileVision pod. May 16, 2017
FaceDetectorDemo
GooglyEyesDemo Add 2 sample projects for GoogleMobileVision pod. May 16, 2017
MultiDetectorDemo Add 2 sample projects for GoogleMobileVision pod. May 16, 2017
CONTRIBUTING Initial empty repository May 16, 2017
LICENSE Initial empty repository May 16, 2017
README.md Initial empty repository May 16, 2017

README.md

iOS Vision API Samples

At this time, these samples demonstrate the vision API for detecting faces.

A note on CocoaPods

The Google Mobile Vision iOS SDK and related samples are distributed through CocoaPods. Set up CocoaPods by going to cocoapods.org and following the directions.

Try the sample apps

After installing CocoaPods, run the command pod try GoogleMobileVision from Terminal to open up any example projects for the library. There are 2 sample apps available:

  • FaceDetectorDemo: This demo demonstrates basic face detection and integration with AVFoundation. The app highlights face, eyes, nose, mouth, cheeks, and ears within detected faces.

  • GooglyEyesDemo: This demo demonstrates how to use the GoogleMVDataOutput pod to simplify integration with the video pipeline. The app draws cartoon eyes on top of detected faces.

If you want to try the samples from the github source code. Do the following:

  • Run the command pod install from Terminal in the folder that contains the Podfile. This will download the required dependencies.
  • Launch the [Project Name].xcworkspace. This will open the sample app with xcode.

Support

For General questions and discussion on StackOverflow:

If you've found an error in this sample, please file an issue: https://github.com/googlesamples/ios-vision/issues

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.

License

Copyright 2016 Google, Inc. All Rights Reserved.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.