src/Service/Aliyun/OCRManager.php
public function idcard($images, array $options = [])
    {
        $options['side'] = empty($options['side']) ? 'face' : $options['side'];

        return $this->request(self::OCR_IDCARD, $images, $options);
    }
public function idcard($images, array $options = [])
    {
        $options['side'] = empty($options['side']) ? 'face' : $options['side'];

        return $this->request(self::OCR_IDCARD, $images, $options);
    }
public function idcard ( $ images , array $ options = [ ] ) { $ options [ 'side' ] = empty ( $ options [ 'side' ] ) ? 'face' : $ options [ 'side' ] ; return $ this -> request ( self :: OCR_IDCARD , $ images , $ options ) ; }
印刷文字识别_身份证识别

@see https://market.aliyun.com/products/57124001/cmapi010401.html#sku=yuncode440100000

@param string|SplFIleInfo $images
@param array  $options
参数              是否可选     类型        可选范围/说明
side              N            string      默认face，身份证正反面类型:face/back

@return array
印刷文字识别_身份证识别