Git Product home page Git Product logo

chamber's Introduction

Chromatogram

It is a android app that takes image from a IOT based device using websockets sends it to the server or cloud and runs python scripts and returns the output to the APP

Images Images
86c3476f-3d1e-4d98-beb4-9965aa65e832 8b3abec3-1ce8-481a-9db3-4e84fe5df48c
Images Images
WhatsApp Image 2024-02-03 at 5 10 18 PM WhatsApp Image 2024-02-03 at 5 10 17 PM

Setup

Prerequisite

  1. Download and install opencv 4.9.0_5
  1. Download and install cmake

Folders

  • lib/opencv-cpp contains all the cpp code responsible for calculating TLC

Files

  • lib/features/imageManipulation/image_crop.dart
void calculateTLC(CroppedFile croppedFile) {
    final imagePath = croppedFile.path.toNativeUtf8();
    final imageFfi = dylib.lookupFunction<Void Function(Pointer<Utf8>),
        void Function(Pointer<Utf8>)>('detect_contour_tlc');
    imageFfi(imagePath);
    setState(() {
      _processedImage = File(imagePath.toDartString());
    });
    saveImage(imagePath.toDartString());
  }

This function is used to connect with dart ffi

chamber's People

Contributors

codewithbishal avatar dhruvpatidar359 avatar

Watchers

 avatar

Forkers

codewithbishal

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.