Загрузка видео...

Не удалось загрузить видео

На главную

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!

Похожие видео