So, I scavenged some code from the internet...

So, I scavenged some code from the internet, did some modifications and made a small script that changes any face to NPC face for on the fly meme production.
How it works:
Facial recognition finds the jawline and eyebrows, script clips out the contour and wields in the NPC face from the source image.
Too lazy to make it optimized, but code works pretty well as long as it is one face. If anyone is interested I will dump the code somewhere.

Attached: Face Swapped_screenshot_18.10.2018.png (800x453, 276K)

Other urls found in this thread:

mediafire.com/folder/fwddiaanmxfao/npcMaker
twitter.com/SFWRedditGifs

are you archivebro? i miss your automated lambright abuse

Here is the original image.
The script needs some python libraries to run tho, so it may be a bit tricky to get it running.

Attached: random1.jpg (800x453, 46K)

Attached: Untitled.png (660x28, 2K)

Host it as a web API

bump

make it an app. it will get taken down and become a news story. for the lulz

Attached: 1539646316829.png (527x914, 540K)

Nah, sorry. Wonder what happened to him

Attached: MadeNpc.png (1196x896, 1.06M)

Attached: 1530181632043.jpg (312x287, 20K)

Attached: NPC False Flag Shooting_02.png (3207x2241, 3.98M)

What the hell is that

Or a web app, given it a python script.

bump

Attached: 1532637495849.jpg (1080x1085, 147K)

He made hooktube.
Which had to stop a big deal of it's features for reasons.

> but code works pretty well as long as it is one face
Maybe a better computer vision library like dlib would fix that (if you didn't try it already).

bump

Attached: gib.png (778x512, 45K)

Even better hooktubes were started within a week of its death. It's going to take youtube a year to find and shut them down and by that time there will be 20.

Attached: h.png (327x316, 165K)

Would do it if I knew how lol.
Probably could make a simple one. Code is way overcomplicated tho, I stiched it together in like 20 minutes. Pretty sure you can make it 10 times faster and simpler if you use some time. Probably can make a realtime conversion too, something like snapchat filter.

Yeah, it uses dlib. To make it work with several faces you need to just iterate through them and I didn't consider it back then.

Gonna make a throwaway git and upload files there

Here, git was way too needy.
Uploaded everything to mediafire.
mediafire.com/folder/fwddiaanmxfao/npcMaker

I have to go, but if he delivers and anyone does anything hilarious with it, tell @test on gab for possible article

The picture is a source picture for replacement into the target pic, so it needs to be present.

bump.exe

Attached: cenkNpc.png (1200x1615, 2.75M)

def joke():
>if president_color = '#ffa500':
>>print('ORANGE MAN')
>>audience.applause()

Attached: stephenNpc.jpg (1200x624, 81K)

Attached: obamaNpc.jpg (1200x1200, 85K)

The link is up, so gonna bump for a bit and if the thread dies, it dies.

bump for the artistry

Nice work, user.
B U M P
U
M
P

Doesn't make sense to put NPC masks on celebrities. They might be brainwashed themselves, but they're far more unique than your typical NPC normie

Make a version that matches the skin color or just blacks the eyes and outlines the mouth and nose

Beep beep bop bop
Give up the gun or wait for the mob

Attached: hoggNpc.png (400x400, 166K)

You can put it on whatever you want.
Also, celebrities are often cookiecutter level themselves.

Yeah, I can probably do that, just need to get my ass down and actually code something sensible. Gonna keep you all updated.

Based and nordpilled

Attached: 1494032199185.jpg (250x192, 14K)

Doing jeebuss work.

that is an NSA employee

Its Carl from Aqua Teens son.

i am serious, btw

Can it handle glasses? Good work in any case user. Dump it.

Attached: 20181020_183444.jpg (636x504, 158K)

Yeah, btw, to use it just run
>python makeNPC.py targetImage
targetImage must be in the same directory

i think he was in a video called "it's fun to work at the nsa". i wish they could find better people.

As unique as your meme flag? Pull your pants, and let's get to it.

Not really, since the script pretty much just cuts out the part of the face.

Attached: glasses.png (636x504, 348K)

Python is the masterrace of code

But you should build your script into a standalone executable or even an android app using the kivy library

Will look into it, thanks!
Never made an app before, but should not be that difficult.

NEW MEME!

Attached: vote-1.jpg (500x518, 227K)

MEME REQUEST:

Today OP wasn't a fag. I might host this on AWS, just need to find a way to buy a domain w/o giving out my info.

Attached: brilliant anon.jpg (580x326, 76K)

Please, feel free to contribute to the project in any form. I will continue to modify and work on code it for any future uses as well.

Attached: npcwojak.jpg (220x229, 4K)

pls establish a github/trip so we'll know it's you

any open source hooktubes? someone needs to post the source code. also link one plz?

invidious is one, it's on github

Need to make fresh Git then.

Yes. Use mailinator if you need a persistent user email.

yes people please post links to hooktube variants jewtube shuts down a shit tonne of videos for copyright now

Will do it tomorrow getting pretty late here. Until now gonna use trip.

bump

Attached: donpc.jpg (640x480, 41K)

GIBS HOOKTUBE LINKS REEEEEE

Ok, boys, gonna get some sleep.
Link for downloading the script is in the middle of the thread. Will set up git soon and make another thread.

works well

Attached: jimmy-nu-npc.png (960x960, 975K)

100% this is racist.

Attached: 1539986932035.png (427x502, 163K)

New Pipe is great for your phone...
not a website tho.

Totally worth it, tho. You can sub without an account, make own playlists, download video/audio. Like old hooktube and more