matlab文本字体代码-SynthText:SynthText

上传者: 38506713 | 上传时间: 2025-10-24 11:59:23 | 文件大小: 27.04MB | 文件类型: ZIP
matlab文本字体代码SynthText 生成合成文本图像的代码,如所述。 合成场景文本图像样本 该库是用Python编写的。 主要依赖项是: pygame, opencv (cv2), PIL (Image), numpy, matplotlib, h5py, scipy 生成样本 python gen.py --viz 这会将数据文件(〜56M)下载到data目录。 该数据文件包括: dset.h5 :这是一个样本h5文件,其中包含5张图像以及它们的深度和分割信息的集合。 注意,这仅是示例。 建议您向该数据库添加更多图像(以及它们的深度和分割信息)以供您自己使用。 数据/字体:三种示例字体(将更多字体添加到此文件夹,然后使用其路径更新fonts/fontlist.txt )。 data / newsgroup :文本源(来自新闻组数据集)。 可以将其替换为任何文本文件。 查看text_utils.py内部,以查看渲染器如何使用此文件中的文本。 data / models / colors_new.cp :颜色模型(前景/背景文本颜色模型),从IIIT-5K单词数据集中学习。 数据

文件下载

资源详情

[{"title":"( 38 个子文件 27.04MB ) matlab文本字体代码-SynthText:SynthText","children":[{"title":"SynthText-master","children":[{"title":"synth_utils.py <span style='color:#111;'> 9.09KB </span>","children":null,"spread":false},{"title":"results","children":[{"title":".r <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"text_utils.py <span style='color:#111;'> 23.26KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"samples.png <span style='color:#111;'> 707.59KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"fonts","children":[{"title":"fontlist.txt <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"vn","children":[{"title":"timesbi.ttf <span style='color:#111;'> 596.50KB </span>","children":null,"spread":false},{"title":"times.ttf <span style='color:#111;'> 808.74KB </span>","children":null,"spread":false},{"title":"timesbd.ttf <span style='color:#111;'> 816.28KB </span>","children":null,"spread":false},{"title":"timesi.ttf <span style='color:#111;'> 636.23KB </span>","children":null,"spread":false},{"title":"arialbd.ttf <span style='color:#111;'> 727.11KB </span>","children":null,"spread":false},{"title":"arialbi.ttf <span style='color:#111;'> 538.89KB </span>","children":null,"spread":false},{"title":"ariali.ttf <span style='color:#111;'> 533.73KB </span>","children":null,"spread":false},{"title":"arial.ttf <span style='color:#111;'> 748.69KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"newsgroup","children":[{"title":"newsgroup.txt <span style='color:#111;'> 965.48KB </span>","children":null,"spread":false},{"title":"newsgroup_old.txt <span style='color:#111;'> 29.89MB </span>","children":null,"spread":false},{"title":"._newsgroup.txt <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"char_freq.cp <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"._.DS_Store <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"colors_new.cp <span style='color:#111;'> 1.46MB </span>","children":null,"spread":false},{"title":"font_px2pt.cp <span style='color:#111;'> 63.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"dset.h5 <span style='color:#111;'> 23.69MB </span>","children":null,"spread":false},{"title":".r <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.13KB </span>","children":null,"spread":false},{"title":"data_provider.py <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"prep_scripts","children":[{"title":"floodFill.py <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"run_ucm.m <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"predict_depth.m <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"synthgen.py <span style='color:#111;'> 24.38KB </span>","children":null,"spread":false},{"title":"invert_font_size.py <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"ransac.py <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"common.py <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"visualize_results.py <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"colorize3_poisson.py <span style='color:#111;'> 17.43KB </span>","children":null,"spread":false},{"title":"poisson_reconstruct.py <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"gen.py <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明