zi-kang / EasyAR-miniprogram-WebAR-Demo

46 stars 24 forks source link

识别图片 #7

Open liu576309342 opened 4 years ago

liu576309342 commented 4 years ago

返回监听失败,错误信息为undefined的怎么回事

liu576309342 commented 4 years ago

this.listener = context.onCameraFrame((frame) => { if (!this.data.isReuqest) { this.transformArrayBufferToBase64(frame); } }); 不进入这个回调

ye279729240 commented 4 years ago

image 请问这个是什么情况?

ye279729240 commented 4 years ago

this.listener = context.onCameraFrame((frame)=> { if(!this.data.isReuqest){ this.transformArrayBufferToBase64(frame); } }); 不进入这个可能性

我也发生这个情况,请问具体怎么操作?

liu576309342 commented 4 years ago

这个是硬件问题,没摄像头

---原始邮件--- 发件人: "ye279729240"<notifications@github.com> 发送时间: 2019年11月27日(星期三) 下午5:45 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com>; 抄送: "Author"<author@noreply.github.com>;"liu576309342"<liu576309342@qq.com>; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7)

this.listener = context.onCameraFrame((frame)=> { if(!this.data.isReuqest){ this.transformArrayBufferToBase64(frame); } }); 不进入这个可能性

我也发生这个情况,请问具体怎么操作?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ye279729240 commented 4 years ago

这个是硬件问题,没摄像头 ---原始邮件--- 发件人: "ye279729240"<notifications@github.com> 发送时间: 2019年11月27日(星期三) 下午5:45 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com>; 抄送: "Author"<author@noreply.github.com>;"liu576309342"<liu576309342@qq.com>; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7) this.listener = context.onCameraFrame((frame)=> { if(!this.data.isReuqest){ this.transformArrayBufferToBase64(frame); } }); 不进入这个可能性 我也发生这个情况,请问具体怎么操作? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

我这个是手机上的真机调试,有摄像头的。而且摄像头也调用成功的,点击识别图片按钮后就报这个错误~

liu576309342 commented 4 years ago

微信小程序这个还不支持真机调试

---原始邮件--- 发件人: "ye279729240"<notifications@github.com> 发送时间: 2019年11月28日(星期四) 晚上7:16 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com>; 抄送: "Author"<author@noreply.github.com>;"liu576309342"<liu576309342@qq.com>; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7)

这个是硬件问题,没摄像头 … ---原始邮件--- 发件人: "ye279729240"<notifications@github.com> 发送时间: 2019年11月27日(星期三) 下午5:45 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com>; 抄送: "Author"<author@noreply.github.com>;"liu576309342"<liu576309342@qq.com>; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7) this.listener = context.onCameraFrame((frame)=> { if(!this.data.isReuqest){ this.transformArrayBufferToBase64(frame); } }); 不进入这个可能性 我也发生这个情况,请问具体怎么操作? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

我这个是手机上的真机调试,有摄像头的。而且摄像头也调用成功的,点击识别图片按钮后就报这个错误~

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ye279729240 commented 4 years ago

微信小程序这个还不支持真机调试 ---原始邮件---发件人:“ ye279729240” notifications@github.com 发送时间:2019年11月28日(星期四)晚上7:16收件人:“ zi-kang / EasyAR-miniprogram-WebAR-Demo” EasyAR-miniprogram-WebAR-Demo@noreply.github.com ;; 抄送:“ Author” author@noreply.github.com ;;“ liu576309342” liu576309342@qq.com ;; 主题:回复:[zi-kang / EasyAR-miniprogram-WebAR-Demo]识别图片(#7)这个是硬件问题,没摄像头…---原始邮件---发件人:“ ye279729240” <notifications @ github .com&gt; 发送时间:2019年11月27日(星期三)下午5:45收件人:“ zi-kang / EasyAR-miniprogram-WebAR-Demo” EasyAR-miniprogram-WebAR-Demo@noreply.github.com ;; 抄送:“ Author” author@noreply.github.com ;;“ liu576309342” liu576309342@qq.com ;; 主题:回复:[zi-kang / EasyAR-miniprogram-WebAR-Demo]识别图片(#7)this.listener = context.onCameraFrame((frame)=&gt; {if(!! this.data.isReuqest){this.transformArrayBufferToBase64(frame); }}); —由于编写了该线程,因此您收到此消息。直接回复此电子邮件,在GitHub上查看或取消订阅。而且这个摄像头也调用成功的,点击识别图片按钮后就报这个错误〜—您收到此消息是因为您编写了该线程。直接回复此电子邮件,在GitHub上查看或取消订阅。

请问这个需要怎么调试?现在直接拉取的这个代码,在微信小程序上就卡在监听失败这步了,十万火急

ye279729240 commented 4 years ago

真机调试不支持?那微信小程序发布后真机支持吗?

------------------ 原始邮件 ------------------ 发件人: "liu576309342"<notifications@github.com>; 发送时间: 2019年11月28日(星期四) 晚上11:48 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com>; 抄送: "墨风"<279729240@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7)

微信小程序这个还不支持真机调试

---原始邮件--- 发件人: "ye279729240"<notifications@github.com&gt; 发送时间: 2019年11月28日(星期四) 晚上7:16 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com&gt;; 抄送: "Author"<author@noreply.github.com&gt;;"liu576309342"<liu576309342@qq.com&gt;; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7)

这个是硬件问题,没摄像头 … ---原始邮件--- 发件人: "ye279729240"<notifications@github.com&gt; 发送时间: 2019年11月27日(星期三) 下午5:45 收件人: "zi-kang/EasyAR-miniprogram-WebAR-Demo"<EasyAR-miniprogram-WebAR-Demo@noreply.github.com&gt;; 抄送: "Author"<author@noreply.github.com&gt;;"liu576309342"<liu576309342@qq.com&gt;; 主题: Re: [zi-kang/EasyAR-miniprogram-WebAR-Demo] 识别图片 (#7) this.listener = context.onCameraFrame((frame)=&gt; { if(!this.data.isReuqest){ this.transformArrayBufferToBase64(frame); } }); 不进入这个可能性 我也发生这个情况,请问具体怎么操作? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

我这个是手机上的真机调试,有摄像头的。而且摄像头也调用成功的,点击识别图片按钮后就报这个错误~

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.