/NeuralNetwork

Two projects CleverBoard and CleverArithmetic with NeuralNetwork in Swift and Objective-C

Primary LanguageSwift

Swift CleverBoard

cleverboard

CleverBoard is an iOS App developed with Neural Network algorithms for recognizing digits (as an example) on images. You can train the network to recognize 10 numbers yourself. Draw upper to five pictures for every number. Then train the neural network. A trained model is already included so right after launch the app, you can try to recognize digits or train to recognize your own.

I consider this project as a code example with using Swift and RxSwift MVVM Technique. The aim of this project is to recognize simple arithmetic operations on recognized digits on the whiteboard.

Requirements

  • Xcode 10.0
  • Swift 4.2
  • RxSwift 4.3.1

Installation

  • Make sure CocoaPods is installed and up to date. Run pod install in the project directory.
  • Build and run

Dependencies

  • RxSwift
  • RxCocoa

Useful links:

CleverArithmetic

Simple iOS based calculator which has been trained to summarize two decimal numbers from 1 to 10 with using Neural Network.

Requirements

  • Xcode 10.0
  • Objective-C

How to install and launch the app

  • clone or unzip the repository.
  • go to the root folder.
  • open CleverArithmetic.xcodeproj with Xcode
  • select CleverArithmeticscheme.
  • select iOS 11 iPhone simulator.
  • start the app by pressing Command+R
  • start all tests by pressing Command+U

Features

  • localization
  • MVVM
  • Xcode unit tests