[ / / / / / / / / / / / / / ] [ dir / random / animus / cow / cyoa / fa / fringe / lewd / mu / wmafsex ]

/qresearch/ - Q Research

Research and discussion about Q's crumbs
Name
Email
Subject
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Voice recorder Show voice recorder

(the Stop button will be clickable 5 seconds after you press Record)
Options

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


Welcome Page | Index | Archive | Voat Subverse | Poal Sub | Q Posts | Notables | Q Proofs
Q's Board: /projectdcomms/ | Bakers Board: /Comms/ | Legacy Boards: /CBTS/ /TheStorm/ /GreatAwakening/ | Politics News & Debate: /pnd/

File: c3b1bdca5c8fb0c⋯.jpg (12.64 KB, 474x266, 237:133, external_content_duckduckg….jpg)

e2d2d8  No.10613866

#!/usr/bin/python

from PIL import Image

from random import *

import sys

import os

def randomize_color (pxl,range):

ret = list()

for p in pxl:

r = (int)(randrange(range) - (int)(range/2))

if( p + r > 256 ):

p = 256 - abs( r )

elif( p + r < 0 ):

p = abs( r )

else:

p = p + r

ret.append(p)

return tuple(ret)

inpath = sys.argv[1]

f, e = os.path.splitext(inpath)

outpath = f + "_mw" + e

rng = 4

if( len(sys.argv) == 3 ):

rng = int(sys.argv[2])

if( rng == 0 ):

rng = 4

memeImage = Image.open(inpath)

print(memeImage)

# Get the size of the image

width, height = memeImage.size

# Process every pixel

for x in range(width):

for y in range(height):

pxl = memeImage.getpixel( (x,y) )

pxl = randomize_color( pxl, rng )

memeImage.putpixel( (x,y), pxl )

memeImage.save(outpath)

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e2d2d8  No.10613922

Digital Soldiers,

Q Post 4660 talks about disguising meme images from AI censors. The first post in this thread is code I wrote that will change a meme image to make it near impossible for the AI censors to catch.

This is open source and offered for free for the digital soldiers.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e2d2d8  No.10613929

You can reach me on twatter @omegaroyalau

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e2d2d8  No.10614093

You can download the MemeWarrior files at:

https://github.com/pepresearch/memewarrior

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
[]
[ / / / / / / / / / / / / / ] [ dir / random / animus / cow / cyoa / fa / fringe / lewd / mu / wmafsex ]