Coder Social home page Coder Social logo

Comments (4)

fengjian0106 avatar fengjian0106 commented on August 15, 2024

合成样本的时候,是可以计算出四边形顶点的坐标的,有了坐标,就可以在标签图上绘制边缘线了

from hed-tutorial-for-document-scanning.

Timthony avatar Timthony commented on August 15, 2024

合成样本的时候,是可以计算出四边形顶点的坐标的,有了坐标,就可以在标签图上绘制边缘线了

谢谢回答,还有个问题就是在合成样本时我看sample文件夹里背景图片有208张,在ios模拟器合成的时候log出来的背景图片只有0/97张,最后生成的合成图invalid只有3万多张,是哪里出问题了吗,比如路径。

from hed-tutorial-for-document-scanning.

Timthony avatar Timthony commented on August 15, 2024

合成样本的时候,是可以计算出四边形顶点的坐标的,有了坐标,就可以在标签图上绘制边缘线了

logs:
2018-11-20 21:01:06.253452+0800 generate_training_dataset[869:10656] documentsDirectory is: /Users/arcstone_mems_108/Library/Developer/CoreSimulator/Devices/EA1FA0AA-6981-4C15-A34D-89445CF6E171/data/Containers/Data/Application/59E990BC-69EF-4617-ADA0-C053C4DAEA83/Documents

2018-11-20 21:01:06.253610+0800 generate_training_dataset[869:10656] resourcePath is: /Users/arcstone_mems_108/Library/Developer/CoreSimulator/Devices/EA1FA0AA-6981-4C15-A34D-89445CF6E171/data/Containers/Bundle/Application/3465A461-4850-4887-BE1B-CB21FB442FEA/generate_training_dataset.app

2018-11-20 21:01:06.270228+0800 generate_training_dataset[869:10656] self.edgeImageView.layer.anchorPoint is: {0.5, 0.5}

from hed-tutorial-for-document-scanning.

fengjian0106 avatar fengjian0106 commented on August 15, 2024

合成样本的时候,是可以计算出四边形顶点的坐标的,有了坐标,就可以在标签图上绘制边缘线了

谢谢回答,还有个问题就是在合成样本时我看sample文件夹里背景图片有208张,在ios模拟器合成的时候log出来的背景图片只有0/97张,最后生成的合成图invalid只有3万多张,是哪里出问题了吗,比如路径。

有些图片可能存在问题,或者格式不符合预期,会直接略过

from hed-tutorial-for-document-scanning.

Related Issues (20)

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.