Improving sky segmentation for the night sky?

Zany
Zany Posts: 1

I built an experience in lens studio using the sky segmentation feature, which works perfectly during the day. However, when trying the lens experience at night it seems unable to detect the night sky. Is there any way I can improve the sky segmentation for the night sky?

Answers

  • Bakari Mustafa
    Bakari Mustafa Posts: 174 🔥🔥🔥

    Here are a few things you could try to improve the sky segmentation for the night sky:

    • Adjust the segmentation settings: You may be able to improve the sky segmentation by adjusting the "Sky Segmentation Threshold" and "Sky Segmentation Smoothness" settings in the Sky Segmentation component.
    • Use additional lighting: If your lens experience is taking place in a location with low lighting, you may be able to improve the sky segmentation by adding additional lighting to the scene. This could help to bring out the visual characteristics of the sky that the segmentation algorithm is looking for.
    • Use a different technique: If the sky segmentation feature is not working well for your use case, you may want to consider using a different technique to identify and separate the sky from other objects in the scene. One possibility could be to use the depth map generated by the device's camera to identify objects that are far away (such as the sky) and separate them from objects that are closer (such as buildings and trees).