Code Monkey home page Code Monkey logo

prntscrngrb's Introduction

prntscrngrb

an image crawler/indexer for lightshot/prntscrn

what?

  1. generate random string
  2. append to prntscrn url
  3. fetch image if not 404
  4. save image to database
  5. apply modules to entry

modules

  • TextAnalyzer
    • Checks for text and saves it
  • NSFWAnalyzer
    • Detects nsfw and saves bounding boxes with label

install

git clone https://github.com/nbdy/prntscrngrb
cd prntscrngrb
./dependencies.sh
pip3 install .

use

usage: __main__.py [-h] [-l LANGUAGES [LANGUAGES ...]] [-d DIRECTORY] [-sl SUFFIX_LENGTH] [-co] [-db DATABASE] [--skip-indexing]

options:
  -h, --help            show this help message and exit
  -l LANGUAGES [LANGUAGES ...], --languages LANGUAGES [LANGUAGES ...]
                        TextDetector languages
  -d DIRECTORY, --directory DIRECTORY
                        Where to put them images
  -sl SUFFIX_LENGTH, --suffix_length SUFFIX_LENGTH
                        URL suffix length
  -co, --crawl-only     Only download images
  -db DATABASE, --database DATABASE
                        Database name
  --skip-indexing       Skip the indexing step

prntscrngrb's People

Contributors

nbdy avatar

Stargazers

 avatar  avatar

Watchers

 avatar

prntscrngrb's Issues

NSFW project

Hi @nbdy
I am a CTO at WALTB and we are building video chatting application.
In our application, we need to implement NSFW processing and I need your help.
I tried yahoo NSFW engine and it's a little slow than we need.
We need to process image within 30 ~ 50 ms but yahoo engine takes 70 ~ 80ms.
So I tried to find alternative solution and I am reaching out to you.
Can we schedule a call and discuss the project?
My email is [email protected].
My github handle is dreamsoftech

Thanks,
Andrew

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.