olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
800 stars 228 forks source link

[Question] Is showing a video playback upon image detection supported? #103

Closed chatorn-ketsom closed 4 years ago

chatorn-ketsom commented 4 years ago

I'm currently working on a flutter project with a requirement to implement AR for retrieving products' information as video playback. I'm quite new to both flutter and AR, espcially the latter. So I was wondering if this plugin supports what I will do? And if it does, I would appreciate if you could provide an example or a tutorial about it. Thank you.

olexale commented 4 years ago

Hi. From the top of my head:

  1. Use Flutter widgets for video playback. You may use the widget projection sample as a reference. In this sample, I've messed up with the transformation matrix a bit and I don't really have time to fix it, hence PR's are highly appreciated.
  2. Use VideoMaterial presented by Apple this year. This option should show much better and reliable results, but it is in beta and is not available for production use yet. Regards, Oleksandr
chatorn-ketsom commented 4 years ago

Hi. From the top of my head:

  1. Use Flutter widgets for video playback. You may use the widget projection sample as a reference. In this sample, I've messed up with the transformation matrix a bit and I don't really have time to fix it, hence PR's are highly appreciated.
  2. Use VideoMaterial presented by Apple this year. This option should show much better and reliable results, but it is in beta and is not available for production use yet. Regards, Oleksandr

Hi @olexale. Thank you for your helpful advice. I will try the first option first though yet will also take a look at the VideoMaterial as you suggested in case it might be the to-go way regarding to the requirement I have that's getting more and more complicated. :) Thanks again.

jtkeyva commented 3 years ago

I got #1 working but ya the widget is not stable, it wabbles all around and I'm having a hard time fixing it. any news on stabilizing @olexale ? thx