https://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/VKSession.runOCR.htmlhttps://developers.weixin.qq.com/miniprogram/dev/api/ai/visionkit/VKSession.on.html
问题:createVKSession方法能否支持MacOS平台?
错误信息:
createVKSession:fail The current device does not support version "v1"(env: macOS,mp,1.06.2407112; lib: 3.4.10)
const session = wx.createVKSession({
track: {
OCR: { mode: 2 }, // mode: 1 - 使用摄像头;2 - 手动传入图像
},
});