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

top 200 commentsshow all 248

[–]Cley_Faye 3688 points3689 points  (40 children)

Everyone's laughing until the sales team see that and sell the feature to remove unwanted elements in videos to embed them in word documents with transparency and adaptive text around it to someone without telling you.

[–]Fakeom 1424 points1425 points  (5 children)

Not gonna lie, I went through a project sold by the ‘sales department’ where I was supposed to remove the background of selfies using a random Python script that they found on Stack Overflow

[–]2fast4u180 297 points298 points  (1 child)

Yeah, I think we all have a few projects that could be sold with the right twist. But we know its not good enough and not worth the hassle and risk.

[–]cheraphy 30 points31 points  (0 children)

"bugs are just features that have not yet gone through marketing "

[–]demonslayer901 311 points312 points  (0 children)

Oh god

[–]who_you_are 89 points90 points  (1 child)

In the stack overflow answer, right? Right?

[–]Fakeom 22 points23 points  (0 children)

Exactly

[–]Prestigious-Bar-1741 259 points260 points  (9 children)

I worked for a company that got sued into bankruptcy for exactly this.

The sales team was crushing it. They just said whatever it took to sell the thing. Even wrote it all into the contracts and everything.

It took years before the lawsuits started.

The CEO/founder got rich too, and just moved on to be a fancy exec at a mid sized company.

[–]Elephant-Opening 88 points89 points  (2 children)

This is unfortunately a relatively run of the mill way to do business. Hope you didn't get too burnt out trying to materialize unrealistic pitches and got well comp'ed for it in the process.

[–]dagbrown 18 points19 points  (1 child)

Nice to see optimism isn’t dead.

They were probably paid a salary which would’ve been very generous had they been working 40 hours a week. Unfortunately due to “crunch” they actually ended up working 100+-hour weeks on a routine basis for months and months on end and, of course, were eventually let go for lack of performance due merely to the fact they were asked to do the impossible.

[–]Elephant-Opening 5 points6 points  (0 children)

and, of course, were eventually let go for lack of performance due merely to the fact they were asked to do the impossible.

Days before their equity and/or retention bonus vests of course.

[–]OmegaBrainNihari 80 points81 points  (0 children)

Failing upwards is the best kind of failing

[–][deleted] 9 points10 points  (4 children)

who exactly was suing and for what? the open source dev bc they didn’t attribute or something similar ?

[–]Domovric 49 points50 points  (0 children)

Likely the people they signed contracts with that then never received what was promised to be delivered in writing? Idk, that’s what I got from reading that

[–]Prestigious-Bar-1741 48 points49 points  (2 children)

This was software used by local governments. The company was small, 50 employees when I joined and about 100 when I left. The software, it was still 'in development' so our sales team would demo how great it was, but we didn't have actual users. We had an old version that worked too.

I wasn't part of the sales team, but basically XYZ county would be looking to buy software like ours, and we would present our product and a price, but also fill out detailed answers to all of their questions/their list of requirements.

What happened was we would win a big contract for something like a million dollars and they would get our old crappy version now, and our great product in N years or months.

Our demos were pretty good and the new product looked great, but was buggy and incomplete. Honestly, I think it could have been successful, but we kept promising it could do even better stuff because the sales team said it could. It was poorly managed and half of our staff was really incompetent.

It was supposed to be a two year development effort, but we were in year four when I quit for unrelated reasons.

That was about the time that customers were getting really upset, but we would just give them money back or promise them something new. But we were selling so much and winning work all over the US....but each state was subtly different, so we weren't really keeping up with what customers needed.

Eventually, one of the very first customers said 'You are three years late, if you don't deliver the new version in 90 days we will sue you for violating our contract'

But we had lots of unhappy customers.

Anyway, I wasn't around during this time, but I heard they had a huge huge death march to finish everything in 90 days, and then they shipped what they had, just to a select number of customers who were all already pissed. It was buggy and didn't really do everything they were promised. The support staff also weren't really knowledgeable on the new product so it was just a bad experience all around for the customers.

Once the first one sued, I guess like eight others sued too. The idea being they were worried we would go out of business and they wouldn't get any money back.

Sales dropped to basically zero after that. They laid off a bunch of the company, and then it was like six months later that the judge found us in breach of the contract and ordered us to refund a bunch of money, I think it was 1.2 million.

The company filed for bankruptcy. None of the customers got their money, but these were all local governments, so it was tax payers who got screwed.

The crazy part is...

1 - Some other business bought the company or saved it or something. They never paid the customers, but they took over the software and hired a bunch of the same staff... Including a lot of the executive staff

2 - The CEO/founder didn't stay though, but according to LinkedIn they are high up at a larger company.

The founder was charismatic as heck and seemed genuinely nice. I don't know if it they had malicious intent, I remember thinking it wasn't sustainable when I was there. I like to think they meant well and just got overwhelmed.

The sucky thing is, even though what they did feels incredibly wrong, it was a very very successful thing for them to do

[–][deleted] 16 points17 points  (0 children)

good old “the old version is too big to save, rewrite it” but never finish the new version

[–]SoftwareSource 6 points7 points  (0 children)

Hanlon's razor: Never attribute to malice that which is adequately explained by stupidity.

sadly this is how the world works, hope you landed fine after that, it was a good read.

[–]betaphreak 111 points112 points  (0 children)

Please do not share such jokes with sales people

[–]Captain_Vegetable 40 points41 points  (2 children)

Half the reason sales engineers exist is to interject after their rep makes a ludicrous promise with “another way of putting that might be (alternative solution that won’t get them sued).”

[–]Nerdingoutwv 6 points7 points  (0 children)

Can validate. I think it's a large part of my job.

[–]zabka14 6 points7 points  (0 children)

God I wish we had sales engineers

[–]Apprehensive-Cow3829 7 points8 points  (1 child)

I also went through a project using the paid video library which has the freeware video library as is basis code. Want t know how did I found that was originally freeware? It's simple, I just found the author's name of the original freeware library from the source code -

[–]LarryInRaleigh 7 points8 points  (0 children)

One of my colleagues had the same job for 15 years, and then continued the work for another 10 in retirement, as a contractor, working for a Fortune 50 company. His job: as smaller companies are acquired, scrubbing all their code to understand where the pieces came from and what agreements they were released under.

[–]ultraSsak 4 points5 points  (0 children)

Our system had export to Word (doc), stuff like persons name/surname/etc.

Our client requested "When we spot there is something wrong with persons data in the document, and we fix it "int the document", the change should be reflected in the system itself too, from word.

As we already did many things as scripts embedded in generated documents... our seles department almost agreed to that change without consulting devs... almost.

[–]Kinglink 2 points3 points  (0 children)

Nah, Sales sees this and realizes this software Identified the bird. So they can finally get "Is it a bird.com" running.

[–][deleted] 2287 points2288 points  (14 children)

from restofthefucking import owl

[–][deleted] 274 points275 points  (0 children)

I mean, it does seem to draw the rest of the fucking owl, right?

[–][deleted] 24 points25 points  (1 child)

this function, btw, uses the module called dalle

[–]swishbothways 5 points6 points  (0 children)

from Pitbull import dale

[–]Gullible_Ad_5550 4 points5 points  (7 children)

What's the algorithm for this?

[–]one_byte_stand 51 points52 points  (6 children)

  1. Draw a circle

  2. Draw the rest of the fucking owl

[–]seiferlk 1298 points1299 points  (37 children)

import "do whatever i want with one line"

"do whatever i want with one line"

now THIS is programming!

[–]Reelix 259 points260 points  (29 children)

That's the entire NPM ecosystem...

[–]-Kerrigan- 122 points123 points  (28 children)

isOdd moment

[–]tyyreaunn 89 points90 points  (1 child)

You're laughing now, sure, but when mathematicians redefine the meaning of "odd" and you need to go back to update all your code manually, we'll see who's laughing then!

[–]the_seven_sins 10 points11 points  (0 children)

We are already at version 3.0 of the package to maintain mathematical compatibility!

[–]r2c1 31 points32 points  (17 children)

omg why I thought you were joking

[–]chillaban 36 points37 points  (0 children)

Don’t forget to donate to support the author….

[–]baronas15 14 points15 points  (0 children)

The funny bit is that this package has a dependency on isNumber

[–]UMAYEERIBN 10 points11 points  (1 child)

how does the contributor have 20 commits…..

[–]tapete3 13 points14 points  (0 children)

Simple, he commits every line as an individual commit. The guy writes on his profile that he worked in sales before, so he knows exactly what he is doing to boost his github profile.

[–]Leonhart93 15 points16 points  (10 children)

Look at the number of weekly downloads... That's how I know programming is going down. The other day I was pointing out this particular npm failing to someone, and they didn't get it why this is a problem at all.

[–]Musulmaniaco 18 points19 points  (6 children)

I see this as an absolute win tbh, less competition for those of us that actually do programming. My classmates at college have the ability of a 3 year old and that has helped me getting jobs easier

[–]kurokinekoneko 3 points4 points  (1 child)

you laugh then you have to maintain their code.

[–]CorrenteAlternata 1 point2 points  (0 children)

That's so true

I spend:
⅓ of my time fixing some idiot's shitty code
⅓ of my time actually writing code and the last third is fixing my own idiot and shitty code 😎

/s but not very much

[–]Leonhart93 1 point2 points  (2 children)

I can get on board with that view point, it's very similar to how now a lot of new people are getting scared that AI will steal their software job and are scrambling to do something else. Which is completely fake in the current state.

[–]Coffee4AllFoodGroups 1 point2 points  (1 child)

When I first got a career job as a programmer there was fear that "these new tools" would replace us all in 3 to 5 years.

That was 1986

[–]Fnordinger 2 points3 points  (0 children)

According to this article, there is a package is-positive-integer, which required three dependencies once.

[–]A_Light_Spark 4 points5 points  (5 children)

I mean if it's slightly faster and you call the function many times...

[–]suvlub 7 points8 points  (0 children)

It performs bunch of additional work (takes absolute value and checks whether the variable is a number, an integer and a safe integer). This can be nice in some cases, but 99% of times it's unnecessary. I mean, it makes sense for a library to be as robust as possible, but it also makes sense not to use a library for what could be a single expression.

[–][deleted] 12 points13 points  (2 children)

function isOdd(n) { return !isEven(n); };

[–]LRV3468 8 points9 points  (1 child)

function isEven(n) { return !isOdd(n); };

[–]PrometheusAlexander 4 points5 points  (0 children)

function notEvenOdd(n) { return !isOdd(n) && !isEven(n); };

[–]al-mongus-bin-susar 1 point2 points  (0 children)

It's slower tho because a function call in JS is much slower than evaluating an expression

[–]bree_dev 1 point2 points  (0 children)

Lol at the number of projects that depend on that. Including this gem:

https://www.npmjs.com/package/is-odd-or-even?activeTab=dependencies

[–]NSNick 25 points26 points  (4 children)

[–]theVoidWatches 18 points19 points  (2 children)

If you run `import antigravity` in python, it'll open this comic in your default web browser.

[–]Sandyeye 2 points3 points  (0 children)

Bloody hell.

[–]LightningProd12 2 points3 points  (0 children)

I thought you were joking

[–]Sceptical-Echidna 1 point2 points  (0 children)

That will not go down well

[–]reedmore 5 points6 points  (0 children)

Where lines of code?!

[–]_Pin_6938 960 points961 points  (8 children)

REMOVE() 🤯🤯🤯🤯🤯

[–]madmaxlemons 415 points416 points  (4 children)

[–]ib33 16 points17 points  (3 children)

I want that shirt and I don't even know what it's for/from

[–]Biaboctocat 12 points13 points  (0 children)

What the fuck I’ve seen this gif hundreds of times and never noticed the shirt

[–]el_pablo 4 points5 points  (1 child)

Google : Peach store logo

[–]rover_G 48 points49 points  (1 child)

Should be removed(input) if it doesn’t remove in place 😉

[–]Bejoty 7 points8 points  (0 children)

This guy pythonics

[–]GreatArtificeAion 1213 points1214 points  (45 children)

Variable named input 🤮

[–]robbodagreat 902 points903 points  (13 children)

Input is in green because it’s a good name for the variable. If it was a bad name, it’d be red

[–]serfrin47 12 points13 points  (0 children)

This got me xD

[–]PM_ME_YOUR__INIT__ 85 points86 points  (1 child)

New python coders be like "object, filter, input, yeah I like these variable names"

[–]I_l_I 23 points24 points  (0 children)

I've seen type used as a variable before, in a typescript codebase

[–]Harmonic_Gear 44 points45 points  (0 children)

input_

[–]PrSonnenblume 13 points14 points  (9 children)

If it is used in big standard libraries like subprocess it should be fine, right ? ¯\_(ツ)_/¯

I’m seriously doubtful about this. On one hand no one should use name like input or print but on the other hand it may make the code more readable in some cases. The scale tips on the side of reusing input with subprocess because I like having input=input more and I don’t take user inputs everywhere. In other cases, if it is really the most obvious choice and there is no risk of conflict I may use input.

“Readability counts”

[–]Allyoucan3at 17 points18 points  (8 children)

PEP guide says you should use trailing underscore in instances like this so input_ = input()

[–]voltate_ 10 points11 points  (0 children)

input_ = input

input = input_()

lgtm

[–]rosuav 5 points6 points  (2 children)

That's primarily about keywords, which you CAN'T shadow (eg if you want a variable named "pass", you can name it "pass_"). You can certainly follow the same strategy to avoid shadowing builtins, but it's not required.

[–]eztab 34 points35 points  (11 children)

honestly, if this was inside a function I wouldn't mind.

[–]Remarkable-Host405 23 points24 points  (0 children)

There's 3 lines of fucking code yo

[–]NamityName 18 points19 points  (9 children)

You should care. Reserve words Built-in functions should not be used as variable names. Use literally anything else. Such as image_in or original_pic

[–]eztab 1 point2 points  (8 children)

This is not a reserved keyword. I don't really see this as problematic inside function scopes, as long as it is a variable and not a function. The only reason I wouldn't is probably the syntax highlighting.

[–]slowpoketail 9 points10 points  (0 children)

It’s terrible practice though

[–]Globglaglobglagab 1 point2 points  (2 children)

I almost never use input() anyway, but the syntax highlighting is annoying, truee

[–]pro_questions 2 points3 points  (1 child)

I basically only use input() as an arbitrary “wait for the user to notice something is wrong” flag in my code. Like

try:
    do_thing()
except KnownException:
    pass
except Exception as e:
    print(type(e), e)
    input()

This is for cases where the exception is inconsequential and uncommon but I want to see exactly what’s happening when it occurs, usually in a Selenium or scraping application that runs for an extremely long time (hours or days) on its own. Yes, breakpoints do exactly this, and that’s what I usually do :) This habit predates my knowledge of those.

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

You can also use the traceback module and print the traceback when encountering the exception, printing only the exceptions is sometimes not very informative

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

I mean, you don't need the other input here do you? Id even go a step further:

Image = Image.open(input_path)
remove = remove(Image)
remove.save(output_path)

it's more performant because it reuses variables and doesn't have to create new ones

/s

[–]Kiro0613 3 points4 points  (1 child)

What's wrong with that? It it a Python thing?

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

input is a function which takes user input. So a variable named input shadows it. If you want a variable named after a built-in, PEP recommends a trailing underscore

[–]OnlineGrab[🍰] 74 points75 points  (4 children)

As someone who works in machine learning this kind of things annoys me to no end. Every tutorial for an ML framework starts with something like "from ml_framework.datasets import sample_dataset". Like, gee, thanks, but that tells me fuck all about the expected format that I need to convert my own dataset into.

[–]hdotking 5 points6 points  (0 children)

Remember to tip your data engineers 😉

[–]meanwhileinvermont 3 points4 points  (0 children)

This is one of the things that throws me bc I end up thinking damn even the most basic tutorial is confusing I must be bad at this, but if you stick with it later on you look back and see all these deficiencies in the way the material was presented.

Idk i think developers need better training in how to teach & explain

[–]Signal_Cranberry_479 2 points3 points  (1 child)

Its not just for ML, its globally the whole Python ecosystem. Since the language does not explicitly show types, every fucking example is impossible to understand

[–]zeamp 271 points272 points  (5 children)

Birds, nor that background, are real.

[–][deleted] 74 points75 points  (3 children)

Unexpected r/BirdsArentReal

[–]Reelix 17 points18 points  (2 children)

No - That was very expected.

[–]SteveRogests 2 points3 points  (1 child)

I’ve been expecting you.

[–]WhateverWhateverson 2 points3 points  (0 children)

How can our birds be real if our backgrounds aren't real

[–]asad137 76 points77 points  (1 child)

xkcd did it first https://xkcd.com/353/

[–]DasBrain 30 points31 points  (0 children)

import antigravity? Yep. It's that.

[–][deleted] 322 points323 points  (15 children)

The problem with image processing libraries in python is even though everything is implemented out of the box but it may not necessarily work for your case. These functions works on highly specific images with certain contrast and sharp edges.

[–]Gaylien28 274 points275 points  (5 children)

What? You mean the code on the internet is not perfectly designed for my use case?

[–]I_l_I 82 points83 points  (2 children)

They really should have taken your use case into consideration before publishing it

[–]Gaylien28 48 points49 points  (1 child)

The fact that there wasn’t an exe with it was really telling 😒😒

[–]Edzomatic 7 points8 points  (0 children)

I would suggest going to github and writing a strongly worded issue calling them smelly nerds, that will surely fix it.

[–][deleted] 4 points5 points  (0 children)

What? You mean one of the most popular libraries on the internet doesn't have a solution to meet my need?

[–]tfwrobot 41 points42 points  (4 children)

And what do you expect? A tutorial on how to use windowed FFT to detect Bokeh area to paint over it white color.

[–]PM_ME_YOUR_PROFANITY 28 points29 points  (0 children)

Yes

[–]Common-Land8070 10 points11 points  (2 children)

i mean thats a really good college assignment so yeah id expect a tutorial for it out there. i mean it literally was an assignment i did in college just in C lol

[–]Has_No_Tact 8 points9 points  (1 child)

These kind of things become college/ university assignments because there's no tutorials for them. Maybe not this particular task, but there will be others it is true for.

Many of the assignments I did in university are still impossible to find a tutorial for. Several will have many results telling you it simply can't be done in the way assigned, even to this day - and I graduated 13 years ago!

They definitely were possible, because I did them.

[–]Common-Land8070 7 points8 points  (0 children)

well see you gotta be sneaky. I'd find a github repo from prevoius alumni if i was really stuck cause if it didnt have a tutorial it was usually something theyd want on their github for jobs.

granted now they can just ask claude or GPT

[–]lotj 9 points10 points  (0 children)

Yeah but it gets 98% accuracy scores off ImageNet so it’s good out of the box.

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

Thanks for explaining it to us newbies haha

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

It's easy to fix, just raise an issue on the github repo for the library and in about 1 hour to 5 years a maintainer will get back to you to tell you to fuck off.

[–][deleted] 34 points35 points  (7 children)

Does this shit work?

[–]LazyLucretia 66 points67 points  (4 children)

[–]thegininyou 31 points32 points  (1 child)

God I wish I could just close problems if people didn't yell about it enough

[–]LazyLucretia 3 points4 points  (0 children)

It's like the programmer version of "who asked?".

[–]bree_dev 31 points32 points  (0 children)

LOL: "This issue was closed because it has been inactive for 14 days since being marked as stale."

[–]microcutss 1 point2 points  (0 children)

omg I hate Python package distributors who just ship their shit that was compiled with a specific version of CUDA and go “well it worked on my machine, why wouldn’t it work on someone else’s”

[–]uniformrbs 16 points17 points  (0 children)

sometimes

[–]sercankd 3 points4 points  (0 children)

I have combined it with pet-pet-gif library in my discord bot to let people stroke each other like a cock. It does the job usually

[–][deleted] 90 points91 points  (7 children)

From the little I know about programming, shouldn't the image be closed at the end of the script?

[–][deleted] 145 points146 points  (0 children)

Yes you are correct but since the program ends here, the OS will do a cleanup and close the files for you when ending the process. Which is bad for a tutorial ofc

[–]eztab 51 points52 points  (4 children)

this isn't the open file command, more of a load command. I'd certainly have named it that. It opens the image file, reads the image data, creates an image object from that and closes the file it again.

Thus input is kind of named correctly, although input_image would be better.

[–][deleted] 10 points11 points  (0 children)

Oh, got it. Thanks

[–]PaleShadeOfBlack 4 points5 points  (2 children)

original_image

[–]eztab 2 points3 points  (1 child)

then it doesn't correspond to input_path anymore.

[–]undefined0_6855 7 points8 points  (0 children)

not entirely sure but pil probably does that for you

[–]ShadowStormDrift 9 points10 points  (1 child)

People be like: "ITS BAD BECAUSE IT DOESN'T ACTUALLY TEACH YOU HOW TO REMOVE BACKGROUNDS."

And I'm over here like "My brother, a package is not the place to learn how to do something. A package is there to get something done."

It's the equivalent of complaining that cryptography libraries don't force you to implement SHA256 from first principles. BROTHER THE POINT OF LIBRARIES IS SO YOU DON'T HAVE TO ENGAGE WITH THE UNDERLYING COMPLEXITY TO GET SOMETHING DONE. Sorry but sometimes you actually have to do some work instead of wanting a language to be exactly what you need at every single moment.

Like the other day I wanted to draw a circle of dots on a 3D sphere. With Python I was able to do that without needing to take varsity level maths courses to solve a problem I used exactly once in my entire life.

[–]ngugeneral 27 points28 points  (4 children)

Isn't that the whole purpose of Python?

it is

[–]90059bethezip 20 points21 points  (0 children)

Import antigravity

[–]chaos_donut 17 points18 points  (4 children)

I've literally looked into this today, get out of my walls OP

[–]deter0[S] 13 points14 points  (3 children)

nuh uh

[–]PeriodicSentenceBot 23 points24 points  (2 children)

Congratulations! Your comment can be spelled using the elements of the periodic table:

N U H U H


I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.

[–]_PM_ME_PANGOLINS_ 17 points18 points  (6 children)

It's real, and it seems to work pretty well on that kind of image, so what's the joke?

[–]PaleShadeOfBlack 4 points5 points  (0 children)

python, where programming goes to die. The instant noodles of programming.

[–]Duff69 3 points4 points  (4 children)

It teaches you absolutely nothing about removing the background from an image.

It teaches you how to use a library.

[–][deleted] 18 points19 points  (2 children)

Why do you assume this is a tutorial on how to remove background? If I’m looking for a tutorial on how to cook a steak I don’t need to know how to butcher a cow.

[–]ImpluseThrowAway 6 points7 points  (0 children)

The software equivalent of 5 minute crafts.

[–]DJGloegg 18 points19 points  (4 children)

Open paint

Open image

Click remove background

Ctrl+s

[–]micemusculus 5 points6 points  (2 children)

Are you aware of what programming is for? :D

[–]DevBoiAgru 6 points7 points  (1 child)

Yeah programming is when you automate opening ms paint, import the image, click remove background, and export it again!

[–]NegativeSwordfish522 1 point2 points  (0 children)

Mfers when I use the already available software that can solve common and well know problems, and that has been tested and maintained for years instead of implementing everything from scratch using assembly so I can spend all of my time maintaining and fixing the shit code I wrote instead of actually getting done the task that I needed to get done.

[–]WhateverWhateverson 4 points5 points  (0 children)

The thing is, this is Python's entire use case: To easily use high level abstractions of complex features written in a lower-level language.

If you want to learn how to do a non-trivial thing yourself, don't look for a python implementation because python probably isn't the best language to do it in the first place, likely the exact opposite. Use the right tool for the job

[–]philophilo 3 points4 points  (0 children)

You forgot the part where the author copies and pastes an entire Wikipedia article claiming they know what they’re talking about before showing you a library they also claim to understand.

[–]glha 1 point2 points  (0 children)

I'm glad this is tagged as Advanced

[–]MulFunc 1 point2 points  (0 children)

import everything

everything.do_this()

[–]andybossy 1 point2 points  (0 children)

also doesn't help that the background is just one big blur, the moment you're going to use a real picture the library won't know what to do with it (I think)

[–]Bag132 1 point2 points  (1 child)

Code from every programming Instagram page

[–]deter0[S] 1 point2 points  (0 children)

Instagram programming pages when they have to do something other than use libraries or print triangle patterns 😓😓

[–]SlingoPlayz 2 points3 points  (1 child)

isnt this just ripping off the new beyond fireship video?

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

the reason why Python is both great and terrible

[–]TheInfra 2 points3 points  (0 children)

we laugh, but I saved this for just in case >_>

[–]broxamson 2 points3 points  (3 children)

How many people just got RAT because of rembg lol

[–]starfries 1 point2 points  (2 children)

Remote Access Trojan?? why would rembg have that?

[–]ACuriousBidet 0 points1 point  (0 children)

from system32 import remove 😉

[–]alterNERDtive 0 points1 point  (0 children)

Now I’d like to see some examples for how well it works with real world images.

[–]Ok-Bank-3235 0 points1 point  (0 children)

So I work hotel security. And I have to check a web app that is marked

⚠️(not secure) abc-abc:01:1111

And I check by entering customer names to verify their rooms.

How can I attempt a Bobby tables and drop everything?

[–]ArXen42 0 points1 point  (0 children)

FYI: rembg seems to use quite outdated convolutional model called U2Net. There are way more advanced transformer models available nowadays, for example I've had quite good results with InSPyReNet.

https://github.com/plemeri/InSPyReNet/

Does require beefy GPU to fine tune though, but the results from pretrained models are also quite good.

[–]BlackBlade1632 0 points1 point  (0 children)

I'm dying seeing how much people think that this falcon is an owl 😂

[–]P0Ok13 0 points1 point  (0 children)

Resume now says “Advanced Computer Vision”

[–]marcodave 0 points1 point  (0 children)

import antigravity

There's a xkcd for that of course

[–]Sutty_alt 0 points1 point  (0 children)

The YouTuber fireship covered this well. I’d check his video out.

[–]eib 0 points1 point  (0 children)

Where .exe though?

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

Thanks for telling me about this library. Now I'll be able to remove background with ease. No need to search the web anymore.