[READ-ONLY] Mirror of https://github.com/flo-bit/image2fake3d. show a fake 3d effect in the browser from an image with a depth map flo-bit.dev/image2fake3d/
3d-effect depthmap image3d svelte threlte
0

Configure Feed

Select the types of activity you want to include in your feed.

11 2 0

Clone this repository

https://tangled.org/flo-bit.dev/image2fake3d https://tangled.org/did:plc:opgxpoeehvll2mrnzhb5uvlj
git@tangled.org:flo-bit.dev/image2fake3d git@tangled.org:did:plc:opgxpoeehvll2mrnzhb5uvlj

For self-hosted knots, clone URLs may differ based on your setup.



README.md

image2fake3d#

check out the demo

demo gif

how it works#

using an image and a depth map, this tool creates a fake 3d effect by moving parts of the plane where the image is shown according to the depth map (so that the foreground is closer to the viewer than the background).

Credit#

The on device image to depth estimation is based on RGB-Depthify, which is based on mobilePydnet. Code for both of these is licensed under the APACHE version 2.0 license, so the same goes for that part of this code (Convert.svelte and model.ts in /src/lib/). Weights for the network can be used for research purposes only.

The rest of the code is licensed under the MIT license.