Hi,
I want to specify options to CIDetector. Which is the correct way? (or both incorrect?)
options = {'CIDetectorAccuracy': 'CIDetectorAccuracyHigh'}
d = CIDetector.detectorOfType_context_options_('CIDetectorTypeFace', None, options)
or do I need to write as:
options = NSDictionary.dictionaryWithDictionary_({'CIDetectorAccuracy': 'CIDetectorAccuracyHigh'})
d = CIDetector.detectorOfType_context_options_('CIDetectorTypeFace', None, options)
Actually both looks working fine, but I cannot know whether the options is actually effective. I cannot tell the detection accuracy is better or not, from the result.
I'm new to iOS and pythonista, I'm very grad to be advised by experts.
Thanks,