CIDetector邊緣識(shí)別系統(tǒng)
CoreImage下CIDetector.h自帶了四種識(shí)別功能
/* 人臉識(shí)別 */ CORE_IMAGE_EXPORT NSString* const CIDetectorTypeFace NS_AVAILABLE(10_7, 5_0); /* 矩形邊緣識(shí)別 */ CORE_IMAGE_EXPORT NSString* const CIDetectorTypeRectangle NS_AVAILABLE(10_10, 8_0); /* 二維碼識(shí)別 */ CORE_IMAGE_EXPORT NSString* const CIDetectorTypeQRCode NS_AVAILABLE(10_10, 8_0); /* 文本識(shí)別 */ #if __OBJC2__ CORE_IMAGE_EXPORT NSString* const CIDetectorTypeText NS_AVAILABLE(10_11, 9_0);
項(xiàng)目采用原生CoreImage框架下CIDetector進(jìn)行邊緣檢測(cè)
預(yù)覽:
評(píng)論
圖片
表情
