Skip to content

Sofi-Tech/SafeSearch-Detection

Repository files navigation

SafeSearch-Detection

Description

This is a project to detect the safe search of an image. The detection can be done in three ways:

  1. AWS Rekognition
  2. Google Vision
  3. Free API (Tensorflow)

Note: The free API is not ready yet.

The detection can be switched from the validation.controller.ts file. It is advised to use the AWS Rekognition as it is the most accurate, verbose and is directly integrated with AWS S3.

Project Structure

Producer

stateDiagram-v2
[*] --> apps
apps --> producer
producer --> src
producer --> test
src --> detection
detection --> image.service
src --> app.controller
src --> app.module
src --> app.service
src --> main
src --> tsconfig.app.json

test --> app.e2e.spec
test --> jeste2e.json
Loading

Validation

stateDiagram-v2
[*] --> apps
apps --> validation
validation --> src
validation --> test
src --> DetectionModules
DetectionModules --> aws
DetectionModules --> google
DetectionModules --> free
src --> deleteQueue
src --> validation.controller
src --> validation.module
src --> validation.service
src --> main
src --> tsconfig.app.json

test --> app.e2e.spec
test --> jeste2e.json
Loading

Installation

  1. Clone the repository
git clone https://github.com/legendhimself/SafeSearch-Detection.git
  1. Install the requirements
yarn

Running the application


Add your .env file in the root directory

cp .env.example .env
# Edit the .env file

Development


  1. Development both producer and validation
yarn start:dev
  1. Development only producer
yarn start:dev:producer
  1. Development only validation
yarn start:dev:validation

Production


  1. Build
yarn build
  1. Production only producer
yarn start:prod:producer
  1. Production only validation
yarn start:prod:validation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 3.6%
  • Shell 0.5%