Evolving repo of the inked capability which turns strings into generated images for training with Natural Language Processing
String-to-Image generation tool, designed to speed up data generation in Natural Language Processing, Scene Text Detection and other text as image projects.
Run a basic Hello World text as image generation.
from inked import WordGenerator
factory = WordGenerator()
word = factory.generate("Hello World")
word.save("Hello_World.png")
Generate images with no augmentations (transparent background removed for viewing):
Or augment each individual character and the whole word to create truly endless images:
For more advanced setups see our User Guide.
- Fork the repository
- Create a branch in your own fork:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request back to our fork.
Capgemini Invent combines strategy, technology, data science and creative design to solve the most complex business and technology challenges.
Disruption is not new, but the pace of change is. The fourth industrial revolution is forcing businesses to rethink everything they know.
Leading organizations behave as living entities, constantly adapting to change. With invention at their core, they continuously redesign their business to generate new sources of value. Winning is about fostering inventive thinking to create what comes next.
This is why we have created Capgemini Invent, Capgemini’s new digital innovation, consulting and transformation global business line. Our multi-disciplinary team helps business leaders find new sources of value. We accelerate the process of turning ideas into prototypes and scalable real-world solutions; leveraging the full business and technology expertise of the Capgemini Group to implement at speed and scale.
The result is a coordinated approach to transformation, enabling businesses to create the products, services, customer experiences, and business models of the future.
Do you want to be part of the team that builds doc_loader and other great products at Capgemini Invent? If so, you're in luck! Capgemini Invent is currently hiring Data Scientists who love using data to drive their decisions. Take a look at our open positions and see if you're a fit.