Giter VIP home page Giter VIP logo

mvn-repo's Introduction

Repo Maven Public

Build Status

Adicione o repositório ao seu pom.xml

<repositories>
    <repository>
        <id>central</id>
        <url>https://mvn.pedrodavi.com.br/</url>
    </repository>
</repositories>

Dependências disponíveis

Docval - Validador de documentos

<dependency>
    <groupId>docval</groupId>
    <artifactId>docval</artifactId>
    <version>1.0.0</version>
</dependency>

Uso

boolean cpf = Docval.checkCPF("796.850.250-02");
boolean cnpj = Docval.checkCNPJ("28.535.777/0001-70");
boolean ie = Docval.checkIE("44516185-0", "PB");

ValidateXmlByXsd

<dependency>
    <groupId>ValidateXmlByXsd</groupId>
    <artifactId>ValidateXmlByXsd</artifactId>
    <version>1.0.0</version>
</dependency>

Uso

File xml = new File("arquivo.xml");
File xsd = new File("arquivo.xsd");
ValidateXmlByXsd.validate(xml, xsd);

Tratamento de imagem

<dependency>
    <groupId>tratimg</groupId>
    <artifactId>tratimg</artifactId>
    <version>1.0.0</version>
</dependency>

Uso

// Instância
File file = new File("C:\\teste.png");
BufferedImage bufferedImage = ImageIO.read(file);
Tratimg tratimg = new Tratimg();
BufferedImage bufferedImageOutput = tratimg.tonsDeCinza(bufferedImage);
ImageIO.write(bufferedImageOutput, "png", new File("C:\\saida.png"));

// Exemplo de métodos
tratimg.binarizacao();
tratimg.CalcMediana();
tratimg.brilho();
tratimg.contraste();
tratimg.tonsDeCinza();
tratimg.calculaHistograma();
tratimg.calculaHistogramaAcumulado();
tratimg.equalizacao();
tratimg.LeJanela3x3();
tratimg.negativo();
tratimg.paleta();
tratimg.passaAlta();
tratimg.suavizacao();

mvn-repo's People

Contributors

pdrodavi avatar

Watchers

 avatar

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.