Is it possible to send previous camera frames to Skia shader for motion extraction? #3492
Unanswered
MotionProcessing
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to the collaboration between Skia and Vision Camera, we can put a filter (inverted colors for example) on the live camera. Can we extend this to achieve motion extraction by subtracting the current frame and a color inverted previous frame?
I unsuccessfully tried different ideas involving SkImage<->DrawableFrame conversion, setting uniforms. creating duplicate shader, ShaderBuilder, ImageFilter, etc. I have noticed that there is a Skia.Video but I don't think that is applicable for this problem
Any suggestions are greatly appreciated.
My (least unsuccessful) idea which cannot be executed:
Beta Was this translation helpful? Give feedback.
All reactions