Focus sweeping and creating a depth map now work successfully! I have stored the frames from each focus sweep in cache rather than storing them in memory, as storing them in memory caused the app to crash on some devices. The sweeps are then processed and stored in physical, non-cache storage along with the original image. I have also been able to create a depth map that shows the depth in an image. However, the depth map will need calibration, as the algorithm does not perform well in low light (it uses SML, but it does not seem to remove artifacts well, and blank areas are a problem). Since I am running out of time (1 day left), I will focus on creating the blur using the depth map and the original picture. I did use AI to make parts of this (mainly on how to extract the Y plane, save it, then read it, as that was confusing).
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.