-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tizen/Web] Change input image for each inference
This patch changes input image for each inference. Signed-off-by: Yelin Jeong <[email protected]>
- Loading branch information
1 parent
59bff60
commit 9f186b5
Showing
5 changed files
with
126 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+40.7 KB
Tizen.web/ImageClassificationOffloading/image_classification_offloading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | ||
<meta name="description" content="Tizen Image Classification SingleShot Example" /> | ||
|
||
<title>Tizen Image Classification Offloading Example</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="css/style.css" /> | ||
<script src="js/main.js"></script> | ||
</head> | ||
|
||
<body> | ||
<h1 align="center">Image Classification</h1> | ||
<div id="main" class="page" align="center"> | ||
<img src="res/0.jpg" /> | ||
<div>local </div> | ||
<div id="local_time"></div> | ||
<br> | ||
<div>offloading </div> | ||
<div id="offloading_time"></div> | ||
<br> | ||
<button type="button" id="local">Start Client (local)</button> | ||
<br> | ||
<button type="button" id="offloading">Start Client (offloading)</button> | ||
<br> | ||
<button type="button" id="localPush">Push data (local)</button> | ||
<br> | ||
<button type="button" id="offloadingPush">Push data (offloading)</button> | ||
<br> | ||
<br> | ||
<label for="port">port:</label> | ||
<input id="port" type="text" name="port" value="0"> | ||
<br> | ||
<br> | ||
<div id="label"></div> | ||
</head> | ||
<body> | ||
<h1 align="center" margin-bottom="50px">Image Classification</h1> | ||
<div id="container"> | ||
<div class="element"> | ||
<button class="button" id="start_local">Create Local Pipeline</button> | ||
<div id="local"> | ||
<canvas class="canvas" id="canvas_local" width="224" height="224"></canvas> | ||
<div id="label_local">Tab here</div> | ||
<div id="time_local"></div> | ||
</div> | ||
</div> | ||
<div class="element"> | ||
<button class="button" id="start_offloading">Create Offloading Pipeline</button> | ||
<br> | ||
<input class="button" id="port" type="text" name="port" value="Port"/> | ||
<div id="offloading"> | ||
<canvas id="canvas_offloading" width="224" height="224"></canvas> | ||
<div id="label_offloading">Tab here</div> | ||
<div id="time_offloading"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters