我已成功检测到使用 react-native-camera 拍摄的图像上的文本元素。在vision().textRecognizerProcessImage(photoUri)成功返回检测到的文本。
// take the photo from the camera
takePicture = async () => {
try {
const options = {
quality: 0.8,
base64: true,
skipProcessing: true,
};
const picture = await this.camera.takePictureAsync(options);
console.log('picture', picture);
const {uri, width, height} = picture;
// saving the pixel size of the selected image too
// for boxes position/size calculation
this.setState({
photoUri: uri,
imgPixelHeight: height,
imgPixelWidth: width,
});
} catch (e) {
console.warn(e);
}
};
// processing the image to detect …Run Code Online (Sandbox Code Playgroud) 我正在使用推送通知开发应用程序。问题是即使使用推送通知工具,我也没有在 iOS 设备上收到推送通知。
在 Android 上,一切正常。我已经卸载/重新安装并从 expo iOS 客户端注销,但问题仍然存在。我在应用程序中所做的唯一显着更改是更新到 SDK v33。
关于可能是什么问题的任何想法?