Skip to content

Commit

Permalink
Real time object detection using deep learning
Browse files Browse the repository at this point in the history
Abhilash_alexnet.m and Abhilash_googlenet.m
  • Loading branch information
abhilash12iec002 authored May 24, 2019
1 parent 577cc97 commit 34d82c1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Abhilash_alexnet.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
clc
clear all
url = 'http://172.26.9.168:8080/shot.jpg'; % paste the same url as show in the IP Webcam app.
ss = imread((url));
nnet=alexnet;
fh = image(ss);
while(1)
ss = imread((url));
picture=imresize(ss,[227,227]);
label=classify(nnet,picture);
image(picture);
title(char(label));
drawnow;
end
16 changes: 16 additions & 0 deletions Abhilash_googlenet.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


clc
clear all
url = 'http://172.26.9.168:8080/shot.jpg'; % paste the same url as show in the IP Webcam app.
ss = imread((url));
nnet=googlenet;
fh = image(ss);
while(1)
ss = imread((url));
picture=imresize(ss,[224,224]);
label=classify(nnet,picture);
image(picture);
title(char(label));
drawnow;
end
Binary file added IMG-20180322-WA0007.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34d82c1

Please sign in to comment.