Automated balloon/item removal script/action

  • 1
  • Question
  • Updated 1 year ago
  • (Edited)
Hi!

I want to make a program that pics out a balloon from apicture and measure it. The shape of the balloon is known, so it shall only recognisethe shape of the balloon on the picture and remove the background. 
Is there any way I can make it look for the shape of a balloonon pictures?
Photo of Helge Aarseth

Helge Aarseth

  • 2 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Pete Green

Pete Green, Customer Advocate

  • 710 Posts
  • 134 Reply Likes
Hi Helge, 

Which application are you working with? 

In Photoshop we don't have any "find balloon shape and remove it" algorithm or action since this usually requires user interaction. Most specific pixel removal/adjustment would be done manually.

Regards
Pete 
Photo of Steve Lehman

Steve Lehman

  • 619 Posts
  • 78 Reply Likes
Hey there Helge,  

There are three ways to manually do this that I know:  1. use the lasso tool to clip it out, to move it, to insert it into another background.  2. use the clone tool to fill the rounded balloon assuming it has a perfect contour or uniform rounded like a circle and not oblong, the clone tool can remove it, and insert it into another background.  3.  If you want to keep it in place and remove the background instead, you can use the selection tool (not the quick selection and not the magic wand) to select the background, then remove the background, then insert another in its place.  

As you work with Photoshop you will notice that there are no magic buttons for certain things as elements is really the easy application, to prepare for the regular Photoshop, and to become a professional.  Professionals find ways to work with it, artistically.  It's an artist tool rather than a magic button application.  

For example, although you may find the red-eye removal tool to be handy, professionals would rather zoom in and work with the eye in our own way rather than rely on a machine to do that delicate work.  I doubt if there will be a balloon removal tool in the future.   Such a tool would need to remove round, square, rectangles, and most photographs don't have a perfect shape, and there other tools that can be implemented to work with that.  Such a newer tool would make work much more difficult.  I cannot see a future suggestion to add specific items with a specific removal tool.

Photoshop cannot be prepare for absolutely everything.  Such as Microsoft Excel, it's a tool for professionals to "make" things out of it, as an assistance-tool rather than do magic things.  All of us find ways to make things easier but more tools can make confusion, harder work, and more suggestions.   

Steve Lehman, MCSE responding
Photo of Helge Aarseth

Helge Aarseth

  • 2 Posts
  • 0 Reply Likes

Dear Steve Lehman

Thanks for your quick reply!
I'm not fanatic about balloons, that was just an example. But I miss a tool for image detection. If I, like in this example, want to recognize a balloon, a spade, wheelbarrow or anything else, I want Photoshop to look at the shape of what I want to find. When photoshop finds the form I'm looking for (a balloon or a spade), I'll have photoshop mark it for me and remove the background. The predefined form will only help photoshop in removing the background - so photoshop does not remove too much or too little

Best regards
Helge Aarseth
Photo of Steve Lehman

Steve Lehman

  • 619 Posts
  • 78 Reply Likes
While it may be a good suggestion, but being a developer myself, I don't see the cost effectiveness.   After so many work hours, there needs to be an answer to the questions of how many people would use it and for how often.  

If Photoshop recognized certain objects in a background, there can be confusion whether a shape might be a wheel barrow etc., and the selection would not be perfect.  For such a program to exist, it would be too robust for any PC of today since every shape would need to be included and then there would be confusion of what object it is selecting, anyway.  It's the same as selecting the color of red, as each red object would be selected, any shape is subject to being selected.   Adobe is not Google, does not have a car that recognizes things such as a moving objects, and that's the only thing a robot car does.  It moves and recognizes moving objects and follows a map between lines on a street.  That is not a robust program.   My suggestion to you is to go to a software developer to see how many dollars such a program would cost, then develop one to see its actual final costs.  

Another example is cars being manufactured.  If we bought a car for the price it took to assemble one, we'd pay $55,000 per each new car.  Manufacturers make up their losses in sale price by their parts sales.  Their object is, make a car that is NOT perfect, then sell parts to make up for the losses of their deficits.   If we bought a perfect car it would cost more than $100,000.  

I once knew the President of Boeing in Seattle as I dated his daughter during high school, AND I am still in touch with her as she lives in Florida today.  I knew her father in the 1960's and he had a 1968 Mercury Monterey that had a Boeing built engine, a 508 V8 that was blue printed and developed only for him at Boeing.   It cost him more than the car, which is what he quoted to me and that's all he would tell me.   It was a nice convertible and he drove like a nut but he had the engine of his dreams and then he still wasn't satisfied.   He said he didn't really like the car shape as he didn't care to drive it everyday and not often.   He should have had those answers before he took the time and expense for that venture.   
(Edited)