artcodes 0.1.8

artcodes 0.1.8

TestsTested
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Apr 2015

Maintained by Kevin Glover.



 
Depends on:
OpenCV= 2.4.9.1
JSONModel>= 0
 

artcodes 0.1.8

Artcodes iOS

This contains iOS version of the artcodes


Adding Artcodes to your project

or download source code

  1. Download the aestheticodes-ios repository as a zip file or clone it
  2. Copy the aestheticodes-ios/core sub-folder into your Xcode project
  3. Download OpenCV framework and add it to your project
  4. Download JSONModel and add it to your project

Basic usage

Implement ArtcodeDelegate to handle a discovered marker. Marker codes are returned formatted like 1:1:3:3:4

#import "ArtcodeViewController.h"

-(void)markerFound:(NSString*)marker
{
    // Handle returned marker here
}

To create Artcode reader

#import "ArtcodeViewController.h"

// Create and configure experience settings
Experience* experience = [[Experience alloc] init];
experience.minRegions = 5;
experience.maxRegions = 5;
experience.checksumModulo = 3;

// Create ArtcodeViewController
ArtcodeViewController* viewController = [[ArtcodeViewController alloc] initWithExperience:experience delegate:delegate];

// Use viewController as appropriate. eg.
[self.navigationController pushViewController:viewController animated:true];