正在加载视频...

视频加载失败

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,104,013 次观看 • 1 个月前 •via X (Twitter)

50 条评论

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Fernando 的头像
Fernando1 个月前

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

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Marc Krenn 的头像
Marc Krenn1 个月前

dope! what depth model are you using?

Konrad Reczko 的头像
Konrad Reczko1 个月前

Repacked DepthArt

Marc Krenn 的头像
Marc Krenn1 个月前

thanks, man! :)

dax 的头像
dax1 个月前

cool

Rehan Ali Shah 的头像
Rehan Ali Shah1 个月前

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

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

vogel 的头像
vogel1 个月前

woah this is insane wtf holyshit

グスタボ 🇧🇷 的头像
グスタボ 🇧🇷1 个月前

can this add dynamic backgrounds in webcam?

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Mustafa. 的头像
Mustafa.1 个月前

this is sickk

Rubén 的头像
Rubén1 个月前

You invented Navi! :)

Marc 的头像
Marc1 个月前

Does this use the TrueDepth camera? VisionCamera?

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Marc 的头像
Marc1 个月前

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

Konrad Reczko 的头像
Konrad Reczko1 个月前

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 的头像
Marc1 个月前

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

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Marc 的头像
Marc1 个月前

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 的头像
Konrad Reczko1 个月前

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 的头像
Sam Sheffer1 个月前

whoa

Indra55 的头像
Indra551 个月前

Dayummm!! Where's the code

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Indra55 的头像
Indra551 个月前

Waiting!!

ahmet 的头像
ahmet1 个月前

wtf have you built?!?!?!

Gyan Jara Hatke 的头像
Gyan Jara Hatke1 个月前

😳😍👌

Kacper Kapuściak 的头像
Kacper Kapuściak1 个月前

what kind of sorcery is this

Ackerman 的头像
Ackerman1 个月前

yoo this is so cool, is it opensource?

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

John Kim 的头像
John Kim1 个月前

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

Google @ Home 的头像
Google @ Home1 个月前

@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 的头像
Michał Wierzbiński1 个月前

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

gfodor.id 的头像
gfodor.id1 个月前

Wow, definitely gonna check this model out

Atom the UiUx Designer 的头像
Atom the UiUx Designer1 个月前

Sorcery

Artur Chakhvadze 的头像
Artur Chakhvadze1 个月前

This is so sick!!!

Joseph Azar 的头像
Joseph Azar1 个月前

that's smooth 🤘

taf 🝮 的头像
taf 🝮1 个月前

@sivori Amazing!

am.will 的头像
am.will1 个月前

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

Dave Katague 的头像
Dave Katague1 个月前

dude you are fucking brilliant

adyingdeath 的头像
adyingdeath1 个月前

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

Aman Gupta 的头像
Aman Gupta1 个月前

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

Konrad Reczko 的头像
Konrad Reczko1 个月前

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

Duncan 的头像
Duncan1 个月前

wizardry

PDF 的头像
PDF1 个月前

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 的头像
Konrad Reczko1 个月前

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 的头像
PDF1 个月前

Niceee, all the best!

Fred Wanders 的头像
Fred Wanders1 个月前

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

Shweta Bharadwaj 的头像
Shweta Bharadwaj1 个月前

brilliant stuff, konrad!

相关视频