kukim98 / geti_dart_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intel GETi API in Dart.

This Dart plugin supports the most basic functions in Intel GETi that are deemed essential for mobile application uses.

Features

Feature Supported?
Authentication with Username & Password ✔️
Authentication with Access code
Create, Read, Update, Delete Projects ✔️
Upload and Delete Images ✔️
Upload and Delete Annotations ✔️
Get AI predictions from pre-trained models ✔️

Getting started

  • You should have access to an Intel GETi server to try out the APIs.
  • Add the following lines of code to pubspec.yaml to add the package.
...

dependencies:
    intel_geti_api:
        git:
            url: https://github.com/kukim98/geti_dart_api.git
            ref: main

...
  • Save the changes and run flutter pub get to download the package.

Usage

  • Construct a GETi API client with valid server IP address and user id.
IntelGetiClient geti = IntelGetiClient(getiServerURL: serverIP, userID: userId);
  • Call authenticate with valid user credentials to fully interact with Intel GETi.
Map<String, dynamic> data = {
    'login': testUserId,
    'password': testPassword
};
await geti.authenticate(data);

Additional information

  • This package is a Dart version of geti_sdk which is written in Python and designed for PC uses. Because the Dart API was designed for mobile application uses, some features of Intel GETi may be omitted unless deemed necessary.

About

License:Apache License 2.0


Languages

Language:Dart 100.0%