Git Product home page Git Product logo

pdf-translator's Introduction

PDF-translator

A PDF translator which can translate English pdf into Chinese pdf. 将英文的PDF翻译并自动生成中文版PDF

效果图🚀

image-20200409170007412

文字识别

翻译截图

image-20200409170642103

最后翻译完成并自动生成的PDF文件在result_pdf文件夹中

注意⚠️

  • 选择文件的按钮很丑,请忽略。更改界面请在main.py中对应代码中进行修改
  • 目前只是一个很简陋的版本,经过测试发现会出现文字被覆盖、公式乱码等情况,有时间再想办法解决
  • translate.py中一共有三个翻译接口,可以自行选择。其中trans是使用的有道翻译接口;trans2使用的是Google的googletrans中的Translator,但使用久了或者频繁了IP会被封;trans3是用browserdrive的方式打开浏览器自动使用Google翻译,但速度较慢,效率太低。
  • 这种翻译出来的PDF其实效果不太理想,既能作为参考,最好的办法还是看原版的文献,万不得已再使用翻译工具。

Author 🐠

  • github@RodrickOMG
  • April, 2020

pdf-translator's People

Contributors

rodrickomg avatar

Stargazers

dp avatar  avatar fenghan0430 avatar  avatar G nora avatar PACHAKUTlQ avatar Guowei Zhao avatar  avatar  avatar  avatar And now I see. With eye serene. avatar  avatar  avatar 天玄峰 avatar Kailey Mccarty avatar David Liao avatar ShuxunoO avatar wyh avatar zanejins avatar  avatar  avatar  avatar Zavier Xu avatar Trotsky avatar  avatar  avatar H.hm avatar  avatar  avatar Denjhang Liu avatar Chloe avatar wzhli avatar allen.hu avatar  avatar Joe avatar  avatar Abell avatar Bruno avatar GitHubLuffy avatar

Watchers

 avatar

pdf-translator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.