How long does it take ImageIdentify to give an answer for one image? Also, I suppose using it requires an Internet connection with Wolfram servers. Is that correct?
1 Answer
If you got V10.1 you can test it yourself. Make sure ImageIdentify
got it's data after say 1st execution and then it can work offline. But use it online from time to time because it is a learning function and it becomes better with time, needs updated data. To understand better the workings, implications and applications of this function take a look also at imageidentify.com project which is based of this function and is a spectacular example of interation of deep neural networks, Wolfram Data Framework (Wolfram|Alpha, Entety) and Wolfram Cloud. I recommend reading the how it works section.
i = Import["https://wolfr.am/4RvEuxmc"]
i // ImageDimensions
{1920, 1080}
imgs = ImageResize[i, #] & /@ Range[200, 2000, 200];
Here we go OFFLINE:
Block[{$AllowInternet = False},
dat = Flatten[{ByteCount[#], AbsoluteTiming[ImageIdentify[#]]}] & /@ imgs;]
So recognition is scale invariant:
dat // TableForm
And here are the times plotted:
ListLinePlot[dat[[All, ;; 2]], PlotTheme -> "Business",
FrameLabel -> {ByteCount, AbsoluteTiming}]
But I think this timings also will improve with time. For the benchmark this was on Mac 2.7 GHz Intel Core i7.
-
$\begingroup$ What happens if the result is wrong? How does Wolfram improve their classifier. For instance, I gave it a picture of a European badger and it thought it was an opossum, then an armadillo. $\endgroup$ Commented May 18, 2015 at 15:47
-
$\begingroup$ @Histograms "ImageIdentify is being progressively enhanced, especially with training data derived from feedback given by users of this site." - that from the page I linked above and said: "I recommend reading the how it works section." $\endgroup$ Commented May 18, 2015 at 16:17
-
1$\begingroup$ Just FYI: There should be a factor 3 speedup for the upcoming 10.2. $\endgroup$ Commented Jul 2, 2015 at 5:14
-
$\begingroup$ I understand why it has to connect to the internet, but why does it need to connect to an account?! $\endgroup$ Commented Feb 7, 2018 at 0:10
CountryData
etc., after that it is quick. A test image of flowers of size 2000x1329 took 0.5 seconds. This question would have been answered quickly in the chat by the way. $\endgroup$