It's possible create Core ML models [closed] - swift

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'd like to know if it's possible create core ml models for xcode, my app needs recognize many different species in real time, so I need to create a custom model
I'm still begginer so please explain me step by step, thanks

Yes it is possible, for that you could use Caffe, Keras, turi or other libraries to generate trained models and then using Core ML python tool you can convert it to .mlmodel to use in xcode.
Also I will suggest to you to read this article :
http://www.reza.codes/2017-07-29/how-to-train-your-own-dataset-for-coreml/

Yes and no.
YES - you can train your own model and then import it into CoreML. But NO - you cannot do any training once the model has been imported. (That will require an app update.)
Here's a few good links to get you started:
A repo and a detailed article that explains how to take a trained YOLO model and import it into CoreML.
A very detailed article (with screenshots) of how to "train a Caffe model using DIGITS on an EC2 g2.2xlarge instance, convert it into a CoreML model using Apple’s coremltools and integrate it into an iOS app".
I haven't gone completely through this last link yet, but from what I've done with the former one and other learning projects, it looks like the best (read: most extensive) "intro to training a Machine Learning model" you can find.
Remember, once you've imported your trained model into CoreML, the only way to update it - at least for now in iOS 11 - is to reimport the model, meaning an app update.
EDIT: In the comments, #MatthijsHollemans (who BTW is the author of those first two links and I recommend reading other articles on his blog) points out a way to update the model without the need for an app update.

Related

Start a neuronal network project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
after a long term of reading the theory behind neural networks I finally want to stark to do my own project in object recognition.
However I struggle to find a practical entry point. I want to use either C#,C++ or C however all new tutorials seem to involve newer languages such as python.
For starting I would especially like to reprogram the theory concepts of Yann LeCuns publications about object recognition.
Which programming language is recommended to use? And much more important: Which framework do I use? There seem to be docents of frameworks (AForge, Apache Mahout, OpenCV) and my theoretical knowledge seems to be too impractical to differentiate the usage of these.
I want to program a simple independent neural network application which should be easy trainable plus I don't want to reprogram classes such as neuron or layer in order to focus on the architecture for the beginning.
Thanks and sorry for the simple probably often ask question, however I just couldn't find anything matching.
Greetings
Nex
disclosure: i'm not an expert.
depends on what exactly you want to do.
if you want to build something from scratch, probably the easiest language to start prototyping is matlab/octave because it's high level and offers pretty fast matrix manipulations, nice math support (like numeric derivatives) and robust plotting to quickly verify your models. when you have your prototype, you can port to to c/c++ to make it faster, more space efficient, portable etc.
if you want to just use exiting tools/techniques and just play with parameters (preprocessing, feature selection etc) to find the best model for you, i would recommend start from R and caret package or python (don't remember the package name)
if you want to use NN in cluster on big data then i would try using existing frameworks like openCV (not sure if mahout provides NN)
Google just released their tensorflow framework.
Its perfect to start with and offers even for high skilled NN-architectures a lot of feautes. I highly recommend it for everyone.

Is it easy for a PHP Developer to create own framework? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to create a website similar like imdb.com. Whether imdb.com uses any framework? if so which framework it uses? Otherwise are they developing on their own? Is it easy for a normal PHP developer to create my own php framework?
As a PHP developer:
I have my own php framework, So you can say it's not so hard; But you must first learn how other frameworks work... And decide what your framework need to do... Which design patters you agree with...
Most of big websites didn't use famous frameworks, Or even their own frameworks... Mostly using a plenty of libraries... Because when you use a framework you code faster but you waste resources as RAM, CPU IO/Disk...
A well programmed application is this one that use 100% of its code source, It's good to go OOP, MVC... But not in the way most of frameworks works... This what is life less working time cause a less quality project.
There are two reasons why you would want to create your own framework:
Learning purposes, it's a great learning opportunity because you
will learn a lot.
This one I highly doubt is a issue for you, but
If you believe your framework can be different and better in some
way than those already existing, go for it.
A framework isn't the application, a framework is a tool set that lets you get straight on the application itself, instead of writing a database abstraction layer you learn how built-in in works and writes the busniess logic your application needs.
Developing a new framework is not a trivial or easy work at all. Even for a team is difficult to handle, so be extremely sure you need to create yet another one before starting.
Instead, use open source, well known solutions, so that bugs are likely to be triaged and fixed. There are many which are available even for commercial use. Just choose your favourite one: Symfony, Code Igniter or Kohana or whatever and start building your application on top.
As of IMDB, probably they are using a framework, but there is no way to tell what if any.

what constitutes the name Kit? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I'm a bit confused with the "kit" thing.
I'm a .Net guy moving toward linux and iPhone dev. I'm wondering if Kits are simply something like a dll you reference? or is it when you have a complete framework consisting of many parts?
can I call NUnit "TestKit"?
What "kits" are you referring to?
Things like WebKit (open source web page rendering engine spearheaded by Apple), UIKit (User Interface framework for iPhone development), and TuneKit (framework for building iTunes LP content) are all marketing terms used by Apple for various collections of technologies and tools.
from http://en.wiktionary.org/wiki/kit "A set of related parts, tools, clothing or other equipment, collected for some specific purpose."
A set of development tools or libraries can be called a kit. An SDK is a kit.
WebKit is a content engine, so it's not really a kit.
NUnit is a test framework, not a kit. If you ship it together with a Mocking framework you can call those together a kit. A software bundle is often also called a stack. They call LAMP a stack, not a kit.
Kit has no set meaning in Cocoa, it's kind of a suffix for frameworks that Apple likes to use. It has a bit of a connotation of being a compact, elegant, high level way to build whatever it lets you build. Occasionally it's used to distinguish a UI portion of a framework from a non-UI portion, which might have a framework starting in Core. Core is similarly mostly meaningless, but with hints of being more low level or non-UI. On the desktop Core at one point meant "shared between Cocoa and Carbon".
There is a TestKit framework! To me, the intended connotations of calling your framework
"TestKit" are as above. You intend this to be a compact, elegant way to do testing. You will not throw the kitchen sink at the problem, you will endeavor to find a way to solve all the problems people want solved in a minimal way.

Looking for ideas on a class project in Computer Vision [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have come upon another class where I need to find an idea for a project, and since my last posting on SO for a project idea was so successful, I've decided to ask here again.
I'm taking a class titled Computer Vision for Human-Computer Interaction, and we need to come up with a few ideas for a project that we will have about 2-4 weeks to complete. We have the option of working with 1 or 2 other people, although I will probably be going solo on mine.
In the class we've covered things like image formation, image features, segmentation, shape analysis, object tracking, motion calculation, and some applications. Our homework assignments have been completed in Matlab for convenience, although its not required for use in our project.
I have come up with few possibilities: tracking the motion of a golf club and ball in full swing and doing some analysis, or possibly using eigenface techniques to do some sort of facial recognition and matching.
I would enjoy building an application that I can put on the web for others to play around with, but most of all I want to complete a project that could be of good use to someone (whether for entertainment or more useful purposes).
So... any ideas? Thanks!
Its fun and challenging to go from static image processing to doing analysis in real-time. For example, analyze video from a webcam and have the user play a primitive video game by waving their hands.
Or, if you want to continue with your face recognition idea, try writing software to highlight famous faces in a running video in realtime.
Use google image search to gather training data and then see how well your software can do at identifying the president of the US in different settings , for example. Can you train all of the former presidential candidates and differentiate them all?
Also, look into using OpenCV for fast real time computer vision processing in C.
Take a look at these for examples:
http://en.wikipedia.org/wiki/Category:Applications_of_computer_vision
http://www.cs.ubc.ca/~lowe/vision.html
There are some funky projects in this ongoing course:
http://www.seas.upenn.edu/~cis581/

Which framework do you use for building your applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
There are a number of framework out there that provide the skeleton for building applications such as CSLA, XAF, SCSF, ...
Do you use one yourself or do you build from scratch?
.NET is my favorite framework.
The applications I work on are usually too complex to fit into a "skeleton". However when working on Winforms, I like to take advantage of CAB for the UI. I wouldn't say this is the skeleton, but more or less the ground work for which the skeleton can be built, then the meat can be built upon it. I also like using a MVC for connecting the UI to the Data Layer. The Data Layer is typically LLBLGen or nHibernate.
For generating your skeleton for web applications, the ASP.NET Dynamic Data framework looks really promising.
I just use my own class library, which handles things like SQL (differences between different engines), provides lots of custom data structures and types, IoC/Dependency injection, etc.
I have been using the XPO-library from DevExpress before but after having some rather largish performance problems with it I'm back to plain SQL.
I have never used a bigger framework like those you mention. Earlier experience with those have always led me to believe they're powerful, but also restricting. You usually end up combating the way they do things to implement more complex features.
I used CSLA.NET to build an large LOB Windows application (title insurance) in 2007, basically it is a framework that you build your business objects based on. The business objects are generated from database tables with predefined templates. SPs are mostly utilized for data access. Personally I've not liked it because there are lots of code and template need to maintain, I prefer ORM to template based approach.
I've been using XAF to build another Windows based HR application, it can help you create a complete application just in 15 minutes with nice UI and lots of cool stuffs such at localization, customization, skinable and so on. But the big problems with XAF are limitation of the underlying XPO, and not so good performance.