Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Depth-aware light injection in TypeGPU I got a 448x448 monocular depth model down to ~8 ms on my M4 Pro across ~250 dispatches, which is fast enough to use in realtime :D Since the inference is written directly in TypeGPU, I can just feed the depth buffer straight into...

10,103,969 görüntüleme • 1 ay önce •via X (Twitter)

50 Yorum

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Here are some fun intermediate textures, the depth and constructed normals

Fernando profil fotoğrafı
Fernando1 ay önce

Really nice. But you shouldn't cast a shadow when the light source is between you and the wall

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

True, but it looks cool :D Doubles as fake godrays

Marc Krenn profil fotoğrafı
Marc Krenn1 ay önce

dope! what depth model are you using?

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Repacked DepthArt

Marc Krenn profil fotoğrafı
Marc Krenn1 ay önce

thanks, man! :)

dax profil fotoğrafı
dax1 ay önce

cool

Rehan Ali Shah profil fotoğrafı
Rehan Ali Shah1 ay önce

Can you share the link of the code you are using for this video. I want to try it.

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Sure! I’m building it as a TypeGPU example so it will be fully open and runnable just like my selfie segmentation inference

vogel profil fotoğrafı
vogel1 ay önce

woah this is insane wtf holyshit

グスタボ 🇧🇷 profil fotoğrafı
グスタボ 🇧🇷1 ay önce

can this add dynamic backgrounds in webcam?

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Yeah, you get raw depth and pixel color you can do whatever you want with it

Mustafa. profil fotoğrafı
Mustafa.1 ay önce

this is sickk

Rubén profil fotoğrafı
Rubén1 ay önce

You invented Navi! :)

Marc profil fotoğrafı
Marc1 ay önce

Does this use the TrueDepth camera? VisionCamera?

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

This on web but I will port it to Vision Camera on RN too

Marc profil fotoğrafı
Marc1 ay önce

Nice! let me know how it goes, VisionCamera gives you depth frames via the CameraDepthOutput:

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

I actually wanted to run my custom network and just use the external texture interface via react-native-webgpu. Worked nicely for me last time :D

Marc profil fotoğrafı
Marc1 ay önce

wdym exactly? no depth streaming? and which external texture interface do you mean, NativeBuffer?

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Yup, exactly, I just take the raw camera info and run the inference via TypeGPU compute shaders

Marc profil fotoğrafı
Marc1 ay önce

ah yes that is the perfect approach for stuff like this. if you build this with VisionCamera can you show me the code? :)

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Of course, I love the lib btw, I can run code on the camera frames in a way that never reaches JS outside of native handles, brilliant

Sam Sheffer profil fotoğrafı
Sam Sheffer1 ay önce

whoa

Indra55 profil fotoğrafı
Indra551 ay önce

Dayummm!! Where's the code

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Soon, I have to clean it up and handle licensing the weights

Indra55 profil fotoğrafı
Indra551 ay önce

Waiting!!

ahmet profil fotoğrafı
ahmet1 ay önce

wtf have you built?!?!?!

Gyan Jara Hatke profil fotoğrafı
Gyan Jara Hatke1 ay önce

😳😍👌

Kacper Kapuściak profil fotoğrafı
Kacper Kapuściak1 ay önce

what kind of sorcery is this

Ackerman profil fotoğrafı
Ackerman1 ay önce

yoo this is so cool, is it opensource?

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Soon (it will be joining the family of TypeGPU examples I will post an update when it’s ready

John Kim profil fotoğrafı
John Kim1 ay önce

very cool. I can see it being very useful for live streaming.

Google @ Home profil fotoğrafı
Google @ Home1 ay önce

@grok_owner if you could plz implement this in your livestream to have a fairy fly around you the chat would appreciate it

Michał Wierzbiński profil fotoğrafı
Michał Wierzbiński1 ay önce

Brought some stable fluids to the party. Can confirm: TypeGPU is, ineed, fire 🔥🔥

gfodor.id profil fotoğrafı
gfodor.id1 ay önce

Wow, definitely gonna check this model out

Atom the UiUx Designer profil fotoğrafı
Atom the UiUx Designer1 ay önce

Sorcery

Artur Chakhvadze profil fotoğrafı
Artur Chakhvadze1 ay önce

This is so sick!!!

Joseph Azar profil fotoğrafı
Joseph Azar1 ay önce

that's smooth 🤘

taf 🝮 profil fotoğrafı
taf 🝮1 ay önce

@sivori Amazing!

am.will profil fotoğrafı
am.will1 ay önce

the lighting physics are the most impressive part. very cool.

Dave Katague profil fotoğrafı
Dave Katague1 ay önce

dude you are fucking brilliant

adyingdeath profil fotoğrafı
adyingdeath1 ay önce

This project is super cool. Like a AR game haha.

Aman Gupta profil fotoğrafı
Aman Gupta1 ay önce

Can we use lidar sensor on iphone for accurate depth ??

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

That would be amazing, on web I doubt it but on RN maybe

Duncan profil fotoğrafı
Duncan1 ay önce

wizardry

PDF profil fotoğrafı
PDF1 ay önce

The shadow effect annoys me, when the hand is between the camera and the light source the light would be directly hitting the wall there should not be a shadow casted from the hand

Konrad Reczko profil fotoğrafı
Konrad Reczko1 ay önce

Yeah I get that a lot, good news is the shadow is togglable and I already took the feedback and tweaked the shadows so they are less offensive while still getting the “godray” effect which I like

PDF profil fotoğrafı
PDF1 ay önce

Niceee, all the best!

Fred Wanders profil fotoğrafı
Fred Wanders1 ay önce

I ve literally been working on something like this for web design. Your implementation is brilliant

Shweta Bharadwaj profil fotoğrafı
Shweta Bharadwaj1 ay önce

brilliant stuff, konrad!

Benzer Videolar