Comments (7)
It should be ok, I have not tested. ues coremltools https://github.com/apple/coremltools
from image-segmenter-ios.
I have the Model (from Apple website), but the file UIImage+segmentation.swift needs ti ne readapted to use that model, some things have changed.
from image-segmenter-ios.
I adapted the code to use custom deeplabv3 converted with tfcoreml. You can see https://github.com/ismaeIfm/image-segmenter-ios
from image-segmenter-ios.
@ismaelfm is ths v3 model fast enough to be used for real time purposes?
from image-segmenter-ios.
@mevinDhun I don't think so, I've tested it on an iPhone XS and it takes a couple of seconds to perform the segmentation on the test image, but I'm not sure if some settings need to be changed to use the neural engine. I think a proper benchmarking is needed to answer properly.
from image-segmenter-ios.
I adapted the code to use custom deeplabv3 converted with tfcoreml. You can see https://github.com/ismaeIfm/image-segmenter-ios
Why don't you use the one apple gives you instead of converting it?
from image-segmenter-ios.
Because the Apple coreml model is “compiled” from input to predictions and this code assumes the output of the model is an internal layer (ResizeBilinear), so in order to make it work the code would need some changes and I'm not a swift developer.
from image-segmenter-ios.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-segmenter-ios.