Skip to content

invoice-template for generate donut finetune data

Notifications You must be signed in to change notification settings

DYF-AI/invoice-template

Repository files navigation

简介

用途

  • 生成医疗发票目标,用于生成多模态模型的医疗电子发票训练数据(数据增强)

代码

  • 印章生成代码: script/step0_generate_seal.py

    • 用于生成医疗电子发票的省份、医院印章, 如下图所示

    省份印章

    医院印章

  • 修改模板代码:script/step1_generate_new_html.py

  • html转图片代码: script/step2_format_trans.py

    医院印章

TODO

  • 把上述三个步骤代码进行串联
  • 熟悉html,css代码,优化html template参数传递方式

About

invoice-template for generate donut finetune data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published