Comments (4)
Can you please share some pictures? That'll help understand this problem better.
from synthtext.
Unfortunately, I'm on a private network creating these images and they will not allow me to release them. They will allow me to help out fixing bugs and stuff, however.
Anyways, I've finally gotten some time to code up a visualization of each of the character bounding boxes and the final word bounding boxes that are generated. It looks like there is an empty character being drawn on the canvas. Literally it's blank and it ends up returning a 0-width bounding box which has a pretty large height. I believe that is throwing off the calculation of the final word bounding box dimensions.
I already know some of the fonts are having trouble drawing some of the characters in this language but that's so strange it's returning a 0-width bounding box. Many of the other fonts / bad characters just show up as an empty square.
from synthtext.
This problem occurs because of pygame render_to rotating character image within bounding box only but not rotating bounding box itself. Check this line
Line 196 in e18aaf9
The is an example
![photo_2021-01-22_16-28-12](https://user-images.githubusercontent.com/44669029/105498364-285c7400-5cd1-11eb-9289-4ea5c0fd081d.jpg)
from synthtext.
@IgorSondors --- thanks! If you can share a patch for this, that would be great!
from synthtext.
Related Issues (20)
- Alpha blending for better text visibility HOT 1
- Changing text render areas HOT 1
- Generator gives bad result HOT 4
- Ground truth file HOT 3
- results/SynthText.h5
- Text database
- Generating just one word HOT 1
- Saving masks in folder HOT 1
- Pizda shaatsan how to get generated picture with text but without border ? HOT 1
- AssertionError and text placement parameters misunderstanding
- Incorrect visualization of bboxes HOT 5
- Negative value of word-level bounding-boxes in gt.mat
- Mask and bounding boxes HOT 4
- Downloading of SynthText Pre-generated Dataset HOT 8
- Undefined functions in predict_depth.m in prep_scripts HOT 3
- Anyone know how to disable mirrored/backwards text? HOT 1
- zero-size array
- Some special characters are not generated HOT 3
- Can you generate a composite image consisting entirely of '+', '-', numbers, and decimal points?
- Do you have a non torrent download address? I would like to obtain the depth and seg of SynthText, as well as the original image file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthtext.