Comments (7)
- I'm able to download the file locally. It could be that the server is blocking your requests.
I've uploaded it to Google Drive here:
https://drive.google.com/open?id=0B6vslVxoQlvIZXZqYWFSc0htMVU - The demo is using a variant. The code is not available yet.
from synthtext.
OK The link you posted in your reply works - I got the data...
Nice work by the way and thank you for open-sourcing !
( another off-topic question: Have you compared your approach to (Text Flow: A Unified Text Detection System in Natural Scene Images : Shangxuan Tian, Yifeng Pan, Chang Huang, Shijian Lu, Kai Yu, Chew Lim Tan
https://arxiv.org/abs/1604.06877 - I'm trying to choose which one to reproduce... )
Re-read the papers..you get better recall and they get better precision, but end up with f = 80.25 in icdar2013 - I'll try to reproduce your approach thx
from synthtext.
Great. Thank you!
from synthtext.
@ankush-me Hello,I download data from Google Drive.But when i run gen.py,it have TypeError:
2017-03-07 15:37:11.706 Python[71212:46633970] 15:37:11.706 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
0 of 4
Traceback (most recent call last):
File "/Users/liba/Downloads/SynthText-master/synthgen.py", line 616, in render_text
regions = self.filter_for_placement(xyz,seg,regions)
File "/Users/liba/Downloads/SynthText-master/synthgen.py", line 392, in filter_for_placement
res = get_text_placement_mask(xyz,seg==l,regions['coeff'][idx],pad=2)
File "/Users/liba/Downloads/SynthText-master/synthgen.py", line 259, in get_text_placement_mask
place_mask = 255*np.ones((np.ceil(COL)+pad,np.ceil(ROW)+pad),'uint8')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/numeric.py", line 192, in ones
a = empty(shape, dtype, order)
TypeError: 'numpy.float64' object cannot be interpreted as an index
I don't know how to fix it.Can you help me ?
Thanke you
from synthtext.
It seems that the update to NumPy breaks indexing by floats.
You just need to cast the floats (change line 259 in synthgen.py
to the following):
place_mask = 255*np.ones((int(np.ceil(COL))+pad,int(np.ceil(ROW))+pad),'uint8')
from synthtext.
@ankush-me Thanks,it can work now.And if want to create my own data set,I must do that:
- Use
depth-from-single image ConvNets
to create depth image - Use
Holistic Edge Detection
to create segmentation image - Use h5py to save to dset.h5
is it?
from synthtext.
Yes, correct.
from synthtext.
Related Issues (20)
- 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
- Incorrect BBoxes
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.