shu223 / ios-10-sampler Goto Github PK
View Code? Open in Web Editor NEWCode examples for new APIs of iOS 10.
License: MIT License
Code examples for new APIs of iOS 10.
License: MIT License
I have a .pb file from Tensorflow and I would like to implement it into the metal image recognition. I am very new to Swift so any help would be great. thanks.
After some time blur effect is disappearing on Blur Property animator screen. The best way to reproduce is to hide app (resign active) then activate in again - blur disappears and you see clear image. Further blur value change not working anymore.
Hello,
in the image recognition sample, an improvement could be to highlight the image on the screen when it is recognized. Is it possible with the current APIs?
Digit and Object recognition crashes on my 5S stating "Metal Performance Shaders not Supported on current Device" but I haven't found any info on Apple and other forums stating this.
I used Iphone 5s to test "Image Recognition" and appear a error "not support this device". What can i do, tell me how to resolve with this. Thank you so much.
Thanks for providing nice sample codes. It's very helpful. But I could not build on Xcode8. Here is error msg from Xcode. Any ideas?
None of your accounts are a member of 'XXXXXXXXX': An unexpected error occurred. Xcode cannot find a team matching 'XXXXXXXXX'.
No profiles for 'YYYYYYYYYYYYYYYY' were found: Xcode couldn't find a provisioning profile matching 'YYYYYYYYYYYYYYYY'.
Code signing is required for product type 'App Extension' in SDK 'iOS 10.3'
現在研究室でiPhoneXを使いリアルタイムで画像処理をしたいということになり、このサンプルを見つけさせて頂きました。ありがとうございます。
そこでビルドをしたのですが、SlimMSCNN.swiftの88行目にて
Cannot invoke 'MPSCNNConvolution.init' with an argument list of type '(device: MTLDevice, convolutionDescriptor: MPSCNNConvolutionDescriptor, kernelWeights: UnsafePointer<Float>, biasTerms: UnsafePointer<Float>, flags: MPSCNNConvolutionFlags)'
といったエラーでビルドが失敗します。このプロジェクトは現在のXcode9,swift4で実行することは不可能なのでしょうか?もしくはios11ではできないのでしょうか?
よろしくお願いします。
https://medium.com/@shu223/model-format-of-mpscnn-on-ios-metal-performance-shaders-94b653a3dcc8
I flow this tutorial of you but can not convert
Dear @shu223
I want to
Thanks
I have downloaded this project, In MetalCNNBasicViewController "MetalPerformanceShaders" module not Found error comes
When I create the Inception3Net
object from the commandQueue
it says:
fatal error: unexpectedly found nil while unwrapping an Optional value
Any idea why this happens?
To answer your question "Anyone, please let me know how to use this new API.":
In AttributedSpeechViewController.swift
, change the following lines:
attributedStr.addAttributes([NSFontAttributeName: UIFont.systemFont(ofSize: 14)], range: rangeAll)
attributedStr.addAttributes([NSForegroundColorAttributeName: UIColor.black], range: rangeAll)
attributedStr.addAttributes([NSFontAttributeName: UIFont.boldSystemFont(ofSize: 20)], range: rangeBold)
to something like:
// Speak punctuation out loud
attributedStr.addAttributes([UIAccessibilitySpeechAttributePunctuation: 1], range: rangeAll)
// English as spoken in UK/Great Britain
attributedStr.addAttributes([UIAccessibilitySpeechAttributeLanguage: "en-GB"], range: rangeAll)
// Speak in a deeper voice
attributedStr.addAttributes([UIAccessibilitySpeechAttributePitch: 0.8], range: rangeAll)
See documentation here:
https://developer.apple.com/reference/uikit/uiaccessibility/speech_attributes_for_attributed_strings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.