Giter Site home page Giter Site logo

inception-coreml's Introduction

Hi there ๐Ÿ‘‹

I'm an audio software developer, working on my own plug-ins as well as freelance for other audio companies.

Most recently I've been employed as a machine learning engineer and as an iOS developer. These days I mostly write C++ audio code. I've been professionally active as a software developer since the mid 1990s.

I have also written and co-written a number of books (most notably The iOS Apprentice and Core ML Survival Guide) and have published my own apps and games as an indie developer.

inception-coreml's People

Contributors

hollance avatar serialforbreakfast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

inception-coreml's Issues

Does the execution time includes image pre-processing?

Hi,

Does the execution time includes the image pre-processing time to input to first layer + inception-v3 model execution time + post processing time?

For example, tensorflow benchmark model shows the execution time of only the CNN model execution without and pre image processing or post processing. I was looking for such execution time benchmarking.

Elapsed time

Hi, thank you for sharing this demo app.
I have a question about the inference time.
On which device have you tested? (The screenshot iPad version)

improve FPS

@hollance
thanx for the project it was helpful for deeplab real-time segmentation but the capture was very slow even with desiredFrameRate = 30, I tried to improve it to 60 or 240 but i got "libc++abi.dylib: terminating with uncaught exception of type NSException" error .
do you have any idea how can I solve it?
` private func configureSession() {

    guard permissionGranted else { return }

    captureSession.sessionPreset = quality

    guard let captureDevice = selectCaptureDevice() else { return }

           guard let captureDeviceInput = try? AVCaptureDeviceInput(device: captureDevice) else { 

return }

    guard captureSession.canAddInput(captureDeviceInput) else { return }  
  
   captureSession.addInput(captureDeviceInput)
    do {

        try captureDevice.lockForConfiguration()

        captureDevice.activeVideoMinFrameDuration = CMTimeMake(1, Int32(desiredFrameRate))

        captureDevice.activeVideoMaxFrameDuration = CMTimeMake(1, Int32(desiredFrameRate))

        captureDevice.unlockForConfiguration()
    } catch {print("dd")}

    let videoOutput = AVCaptureVideoDataOutput()

    videoOutput.setSampleBufferDelegate(self, queue: DispatchQueue(label: "sample buffer"))

    guard captureSession.canAddOutput(videoOutput) else { return }

    captureSession.addOutput(videoOutput)

    guard let connection = videoOutput.connection(withMediaType: 

AVFoundation.AVMediaTypeVideo) else { return }

    guard connection.isVideoOrientationSupported else { return }

    guard connection.isVideoMirroringSupported else { return }

    connection.videoOrientation = .portrait

    connection.isVideoMirrored = position == .front
}`

ios:12.3.1
iphone:6+
xcode:10.1

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.