GithubHelp home page GithubHelp logo

anjulalk / labellab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scorelab/labellab

0.0 1.0 0.0 2.77 MB

Machine learning supported web-base image labelling tool for researcher.

License: Apache License 2.0

HTML 0.37% CSS 2.34% JavaScript 60.38% Objective-C 0.01% Dart 35.93% Kotlin 0.06% Swift 0.07% Dockerfile 0.09% Ruby 0.75%

labellab's Introduction

LabelLab

License License

LabelLab is an image analyzing and classification platform. It allows users to upload batches of images and classify them with labels. It also has the features to run classifications against a trained model. LabelLab also has a user project management component as well as an image analyzing component.

Apache 2.0 Licence

See the LICENSE file for details.

User Guide

How to Setup

Clone the repository.

git clone https://github.com/scorelab/Labellab.git

Set up React server

Run npm install in labellab-client folder.

 cd labellab-client/
 npm install

Set up MongoDB backend

Run npm install in labellab-server folder.

 cd labellab-server/
 npm install

How to Use

First you need to create a .env file in both labellab-server folder and labellab-client folder following the template provided in the file .env.example which is present in both the folders.

For client-side .env file:

REACT_APP_HOST=http://localhost:
REACT_APP_SERVER_ENVIORNMENT=dev
REACT_APP_SERVER_PORT=4000

For server-side .env file:

HOST=localhost
PORT=4000

JWT_SECRET can be any word your choice.

To create a free MongoDB Atlas cloud database, follow the guide at https://docs.atlas.mongodb.com/getting-started/. After setting up, find the conection string to your database. It should look like this:

{{DB_HOST}}://{{DB_USERNAME}}:{{DB_PASSWORD}}@{{DB_CLUSTER}}/{{DB_NAME}}

You should fill in these values in their relevent fields in the .env file.

NOTE: Your IP address may change if you've been disconnected from the internet and reconnected. If that happens, it means that your internet connection doesn't have a static IP. You may no longer be able to access the database if you've whitelisted only your previous IP address. You can allow access from any IP address from the Atlas control panel to overcome this issue.

Both the front-end and the back-end can be run from the labellab-server folder using the terminal:

  1. To run both the client and server with a single command, run the following:
    $ npm run dev

  2. To run the server separately:
    $ npm run server

The server can also be run using $ npm start

  1. To run the client separately:
    $ npm run client

NOTE: Before starting the server create a file named .env same as .env.example and add your OAUTH and DATABASE credentials in the file.

Visit localhost:3000 to browse.

NOTE: This version only supports Google Chrome and Mozilla Firefox browsers. Make sure to instal the extension Redux Dev Tools if you're using Google Chrome.

How to Use (Mobile)

Run the Node server in the labellab-server directory (if not already done):

npm start

In a new terminal navigate to labellab_mobile directory.

Configure the lib/config.dart using the format provided in lib/config_example.dart.

The application needs google-services.json file issued from Firebase to operate Google Sign in option. To obtain this file,

  1. Sign in to https://console.firebase.google.com/.
  2. Click Add Project and necessary information about the project.
  3. Agree to the terms and click Create Project.
  4. After creating the project, click Add Firebase to your android app.
  5. Go to project location and open android/app/src/main/AndroidManifest.xml. Copy the package name(org.scorelab.labellab_mobile) and paste in the package name field
  6. Get the SHA1 fingerprint by following the instructions ( https://developers.google.com/android/guides/client-auth ) and paste it in the SHA1 fingerprint field.
  7. Click next and download the google-services.json.
  8. Paste the file in location android/app/ folder.

Build the Flutter application,

flutter build apk

NOTE: Use 'ios' instead of 'apk' to build for iOS.

or run the Flutter application.

flutter run

NOTE: A device with USB debugging enabled or virtual device is required.

labellab's People

Contributors

azzamjafri avatar carpecodeum avatar cazci avatar charithccmc avatar hiranthar avatar ivantha avatar josephsemrai avatar kunalbhatia18 avatar laksh22 avatar lukasz-zbrzeski avatar mayursamnani36 avatar rupeshiya avatar sahandisa avatar t19v avatar thatudeshuk 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.