All Projects → bourdakos1 → visual-recognition-with-coreml

bourdakos1 / visual-recognition-with-coreml

Licence: Apache-2.0 license
🕶 Classify images offline using Watson Visual Recognition and Core ML.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to visual-recognition-with-coreml

Node Sdk
☄️ Node.js library to access IBM Watson services.
Stars: ✭ 1,471 (+3577.5%)
Mutual labels:  watson, visual-recognition
youtube-video-maker
📹 A tool for automatic video creation and uploading on YouTube
Stars: ✭ 134 (+235%)
Mutual labels:  watson
deepvac
PyTorch Project Specification.
Stars: ✭ 507 (+1167.5%)
Mutual labels:  coreml
BootFinder
Boot Finder demonstrates the power of using on-device machine learning models to delight users in new and innovative ways. It's private too! Because this model runs on-device, customer photos never leave the phone!
Stars: ✭ 34 (-15%)
Mutual labels:  coreml
CarLens-iOS
CarLens - Recognize and Collect Cars
Stars: ✭ 124 (+210%)
Mutual labels:  coreml
ios-visionkit-webview
Element detection with Vision Framework and CoreML
Stars: ✭ 26 (-35%)
Mutual labels:  coreml
CS231n
CS231n Assignments Solutions - Spring 2020
Stars: ✭ 48 (+20%)
Mutual labels:  visual-recognition
Involution
PyTorch reimplementation of the paper "Involution: Inverting the Inherence of Convolution for Visual Recognition" (2D and 3D Involution) [CVPR 2021].
Stars: ✭ 98 (+145%)
Mutual labels:  visual-recognition
iOS-CoreML-Inceptionv3
Real-time Object Recognition using Apple's CoreML 2.0 and Vision API -
Stars: ✭ 46 (+15%)
Mutual labels:  coreml
MLEdgeDeploy
Automatic Over the Air Deployment of Improved Machine Learning Models to IoT Devices for Edge Processing
Stars: ✭ 26 (-35%)
Mutual labels:  coreml
YOLOv3-CoreML
YOLOv3 for iOS implemented using CoreML.
Stars: ✭ 166 (+315%)
Mutual labels:  coreml
SentimentVisionDemo
🌅 iOS11 demo application for visual sentiment prediction.
Stars: ✭ 34 (-15%)
Mutual labels:  coreml
IBM Covid19 Watson FR
Contenu d'entrainement d'un Bot Covid19 pour Watson Assistant en français et allemand.
Stars: ✭ 15 (-62.5%)
Mutual labels:  watson
DeTeXt
iOS app that detects LaTeX symbols from drawings. Built using PencilKit, SwiftUI, Combine and CoreML for iOS 14(or greater) and macOS 11(or greater).
Stars: ✭ 73 (+82.5%)
Mutual labels:  coreml
sense-iOS
Enhance your iOS app with the ability to see and interact with humans using the RGB camera.
Stars: ✭ 19 (-52.5%)
Mutual labels:  coreml
benchmark-nlp
NLP benchmark test sentences and full results
Stars: ✭ 13 (-67.5%)
Mutual labels:  watson
watson-waste-sorter
Create an iOS phone application that sorts waste into three categories (landfill, recycling, compost) using a Watson Visual Recognition custom classifier
Stars: ✭ 45 (+12.5%)
Mutual labels:  visual-recognition
Chatagram
Winning ChatBot in the IBM ChatBot competition. A ChatBot for a bank
Stars: ✭ 13 (-67.5%)
Mutual labels:  watson
WatsonWebsocket
A simple C# async websocket server and client for reliable transmission and receipt of data
Stars: ✭ 158 (+295%)
Mutual labels:  watson
sms-analysis-with-wks
Analyzing SMS offers for domain specific entities using Watson Knowledge Studio and Watson's Natural Language Understanding
Stars: ✭ 17 (-57.5%)
Mutual labels:  watson

Watson Visual Recognition and Core ML

Note: This repo is now being dedicated to my own fun experiments. For a more vanilla version, use the official repo.

Classify images offline with Watson Visual Recognition and Core ML.

A deep neural network model is trained on the cloud by Watson Visual Recognition. The app then downloads the model which can be used offline by Core ML to classify images. Everytime the app is opened it checks if there are any updates to the model and downloads them if it can.

App Screenshot

Before you begin

Make sure you have these software versions installed on your machine. These versions are required to support Core ML:

  • MacOS 10.11 El Capitan or later
  • iOS 11 or later (on your iPhone or iPad if you want the application to be on your device)
  • Xcode 9 or later
  • Carthage 0.29 or later

Carthage installation

If you don’t have Homebrew on your computer, it’s easier to setup Carthage with the .pkg installer. You can download it here.

Getting the files

Use GitHub to clone the repository locally, or download the .zip file of the repository and extract the files.

Setting up Visual Recognition in Watson Studio

  1. Log in to Watson Studio (dataplatform.ibm.com). From this link you can create an IBM Cloud account, sign up for Watson Studio, or log in.

Training a custom model

For an in depth walkthrough of creating a custom model, check out the Core ML & Watson Visual Recognition Code Pattern.

Installing the Watson Swift SDK

The Watson Swift SDK makes it easy to keep track of your custom Core ML models and to download your custom classifiers from IBM Cloud to your device.

Use the Carthage dependency manager to download and build the Watson Swift SDK.

  1. Open a terminal window and navigate to this project's directory.

  2. Run the following command to download and build the Watson Swift SDK:

    carthage update --platform iOS

Configure your app

  1. Open the project in XCode.
  2. Copy the Model ID of the model you trained and paste it into the modelId property in the CameraViewController.swift file.
  3. Copy your "apikey" from your Visual Recognition service credentials and paste it into the apiKey property in the Credentials.plist file.

Running the app

  1. In Xcode, select the Core ML Vision scheme.
  2. You can run the app in the simulator or on your device.

Note: The visual recognition classifier status must be Ready to use it. Check the classifier status in Watson Studio on the Visual Recognition instance overview page.

What to do next

Try using your own data: Train a Visual Recognition classifier with your own images. For details on the Visual Recognition service, see the links in the Resources section.

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].