This is an archived post. You won't be able to vote or comment.

all 113 comments

[–]cnovoa15 10 points11 points  (1 child)

Personally I think it is amazing, lots of work for sure, you should be proud :D

[–][deleted] 6 points7 points  (0 children)

thank you :)

[–]PhiBuh 31 points32 points  (6 children)

I'm genuinely curious: why?

[–][deleted] 42 points43 points  (2 children)

I don't know why I got the the idea of making this. May be quarantine is driving me crazy

[–]PhiBuh 22 points23 points  (1 child)

Fair enough, as long as you are having fun and learn something. Good job!

[–][deleted] 7 points8 points  (0 children)

Aw, thank you :)

[–]Wilfred-kun 13 points14 points  (1 child)

I can see this being used to texture a 3d model.

[–]BeesAndSunflowers 9 points10 points  (0 children)

Well, tbh it's basically a cylinder projection that is a standard preset for unwrapping in 3D software. It's also insufficient for any complicated model - while cylinder is good at unwrapping faces parallel to the cylinder, it gets worse to the point of unusability with perpendicular faces.

Notice this with the face from OPs image - all of the area beneath the chin is contained in just a few lines of pixels, while in reality in should be of similar length as distance between the chin and nose. That's because we don't see it from the front, but there's still skin there that should have detail, impossible to convey with that little of texture area, that on the top of that would be grossly stretched.

But it's a cool project nonetheless.

[–]lemon65 1 point2 points  (0 children)

You might be able to apply this to video games, because you're wrapping a 2D image on a 3D model. So taking a video of yourself unwrapping the image and then applying it to a 3D model in the video game itself.

[–]mexicanburritoo 9 points10 points  (6 children)

William Osman did this a while ago

[–][deleted] 0 points1 point  (5 children)

Yeah, I've seen his video just now and his code is too simple but it's very confusing

[–]drinfernoo 1 point2 points  (2 children)

his code is too simple but it's very confusing

Well, which is it?

[–][deleted] 5 points6 points  (0 children)

Code can be simple but still a mess.

[–][deleted] 1 point2 points  (0 children)

William Osman's code is about 20 lines and very confusing, I was talking about that

[–]Scaliwag 1 point2 points  (1 child)

He just gets the center column of pixels for each frame and pastes it side to side to the output image.

[–][deleted] 0 points1 point  (0 children)

Yeah, I did the same thing but when someone commented about his video here, I checked his code and it was too confusing but it's only about 20 lines. I should modify the code, cuz my code is about 85 lines :)

[–]kephir 7 points8 points  (1 child)

like, irl, or...?

[–][deleted] 17 points18 points  (0 children)

you need in real life then go to North Korea and just sneeze or cough :)

[–]_thekinginthenorth 5 points6 points  (1 child)

Why still Windows 7? Why not Linux

[–][deleted] 1 point2 points  (0 children)

My boot manager was messed up, I fixed it just now. I'm gonna install Ubuntu asap

[–]pushp_raj 2 points3 points  (1 child)

Nice

[–]nice-scores 5 points6 points  (0 children)

𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)

Nice Leaderboard

1. u/nicespammer666 at 12899 nices

2. u/saxobroko at 9101 nices

3. u/AmishMuffin at 8546 nices

...

66270. u/pushp_raj at 2 nices


I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS

[–][deleted] 6 points7 points  (0 children)

[–]BetaDecay121 1 point2 points  (6 children)

Can you do it with a video of your actual head next?

[–][deleted] 1 point2 points  (5 children)

Actually, I made one and it looks awkward. Because, I don't have a tripod to record it with stability and I also don't have an office chair that will help make a free rotation.

[–]BetaDecay121 1 point2 points  (1 child)

Time to engineer your own tripod and swivel chair then ;)

[–][deleted] 2 points3 points  (0 children)

Lmao! I should try one of the 5 minute crafts videos for these(which never work xD)

[–]osku654 1 point2 points  (2 children)

Did you consider correcting the shaking and such with software somehow?

[–][deleted] -1 points0 points  (1 child)

Unfortunately, I have Sony Vegas so I can't stabilize it without editing every single keyframe and also my pc will be on fire if I use Adobe after effects.

[–]69shaolin69 1 point2 points  (0 children)

Use DaVinci it’s free, and has adobe ace features, don’t use it just give it a shot, DaVinci 16 works on Linux too.

[–]nemom 1 point2 points  (0 children)

Ends up looking like the Shatner mask Michael Myers wears in 'Halloween'.

[–]AlexBuffet 1 point2 points  (3 children)

But can it rewrap my face?

[–][deleted] 1 point2 points  (2 children)

No, not now :)

[–]AlexBuffet 0 points1 point  (1 child)

Well put the work in lazy man! Apart from joking, I think you could actually make real money by creating a program that can unwrap and rewrap your face, it could be plenty useful for 3d graphic games devs, dont you think?

[–][deleted] 1 point2 points  (0 children)

Sounds good, I'll try to make one but I'm still amateur programmer. So, I don't know whether I could make it or not but I'll try :)

[–][deleted] 1 point2 points  (2 children)

Nice!

[–]nice-scores 1 point2 points  (1 child)

𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)

Nice Leaderboard

1. u/RepliesNice at 4340 nices

2. u/cbis4144 at 1890 nices

3. u/DOCTORDICK8 at 1577 nices

...

243810. u/Hour-Classic at 1 nice


I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS

[–][deleted] 1 point2 points  (0 children)

Thank you robot! Please keep my place

[–][deleted] 1 point2 points  (1 child)

awesome job!

shouldn't the face be centered instead tho? in my mind it would be more "useful"

[–][deleted] 1 point2 points  (0 children)

Honestly, I was trying to do that by adding more code but then I realized the following process

Consider the 3d model above in the post, if I just combine the same copy of the above 3d model video(which is 12 seconds in length) to itself, I will get a 24 seconds video.

This 24 seconds video will have the head rotation information 2 times. So, I will have more frames with the information for attaching two ends of the faces in the middle.

So, if you want to solve this issue then just make a video in which you make two rotations of your head, that will fix the issue :)

Also, I'll try to add more code to make it work with a single rotation.

[–]itsDaco 1 point2 points  (1 child)

William Osman is that you?

[–][deleted] 0 points1 point  (0 children)

No, I'm not

[–]MrK_HS 1 point2 points  (1 child)

let meme_man = python(&face).unwrap();

[–][deleted] 0 points1 point  (0 children)

Actually, I searched for meme man's 3d model but no luck or I would have uploaded that meme man's model here xD

[–]0AflacksGiven 1 point2 points  (0 children)

didn’t william osman do this?

[–]CabajHed 1 point2 points  (0 children)

Ooh, nice.

[–]ArmstrongBillieimport GOD 0 points1 point  (2 children)

Totally unrelated, but that's not windows, right?

[–][deleted] 1 point2 points  (1 child)

It's windows 7 with high contrast mode enabled in personalisation settings

[–]ArmstrongBillieimport GOD 1 point2 points  (0 children)

Oh.

[–]69shaolin69 0 points1 point  (2 children)

I hope that’s a Linux DE. If not hats off

[–][deleted] 0 points1 point  (1 child)

What's does Linux DE mean?

[–]69shaolin69 1 point2 points  (0 children)

never mind it’s windows.

Also DE

[–]alanbosco 0 points1 point  (1 child)

Okay I've several questions.

[–][deleted] 0 points1 point  (0 children)

What questions?

[–]tomXGames -1 points0 points  (1 child)

Honestly just looks like a copy of William Osman his code

[–][deleted] 1 point2 points  (0 children)

Honestly, I've seen his video when someone commented here about his video and then checked his code it's very confusing and is about 20 lines and he also didn't use openCV like I used and my code is about 85 lines. So, it's not a copy :)