Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

10 replies

The Python ecosystem is "the rest of the fucking owl", but when it just appears after you draw the circles.

75
programming.dev

Hey, if you understand Python it makes sense. If you’ve used the PIL before it makes even more sense. If you don’t understand Python, you should probably start by understanding Python.

39
dev_nullreply
lemmy.ml

Of course it makes sense, the code does pretty much nothing. The point is that the tutorial does not teach you about how to remove a background. It's like a "how to cook X" article that just tells you to "order X online" and that's it.

63

If you want to build a background removal tool from scratch that’s a project of its own. This shows you how to very simply remove a background with a pre-existing tool that other people have spent the many hours to get functional so you can do the five-minute tutorial.

It’s not the Arch Linux way, it’s more like the Ubuntu way.

36
lemmynsfw.com

If nobody before you invented the wheel, you've probably not looked hard enough.

13

There are two kinds of "how-to".

  1. How to do something - that's what this is. Simple, straightforward, accomplishes its goal.

  2. How to understand something - explaining how and why this works and how you could generalize what this is doing to related projects.

However, even if you are interested in the second choice, this is still useful! Your next step is just to look into the libraries that the rembg package uses.

16
lugalreply
lemmy.ml

Well, it does the job. No need to reinvent the wheel and for people who don't know the packages, this is helpful

10

Yeah, I'm explaining the meme, not agreeing with it.

6

Except the code removes the background in complete compliance with the statement "remove image background using python."

It's not "remove image background using photoshop."

0

You reached the end