Git Product home page Git Product logo

mlkit_simulator's Introduction

MLKit_simulator

설치

git clone https://gitlab.dev-merge.com/joy/mlkit_simulator.git && cd vision
pod install 
// 생성된 .xcworkspace 실행

실행

  1. Run Scheme 수정 : 중앙 상단에서 Excutable을 VisionExample.app으로 변경 및 원하는 Simulator 설정
  2. VisionExample 프로젝트 설정에서 Signing & Capabilities 계정 설정
  3. VisionExample/ViewController.swift 에서 입력 경로, 출력 경로 수정
// 경로 문자열 뒤에 "/" 붙혀야함.
let datasetPath = "./root1/" // input path        
let resultPath = "./root2/" // output path
  1. 실행

상세설명

  1. Input 구조
    Root/
        /class1/
               /imagename.jpg (jpg, png  image file)
        /class2/
               /imagename.jpg (jpg, png  image file)
        /class3/
               /imagename.jpg (jpg, png  image file)
  2. Output 구조
    Root/
        /class1/
               /imagename-mlkit.json
        /class2/
               /imagename-mlkit.json
        /class3/
               /imagename-mlkit.json
  3. Json 형식 (예시)
    {
        "Mlkit class name": "FOOD" // bbox 좌표가 있어도 unknown인 경우 존재
        "MLKit class confidence": 0.85546875,
        "xmin": 156,
        "ymin": 159,
        "xmax": 307,
        "ymax": 473
    }

mlkit_simulator's People

Watchers

stonehye 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.