728x90
๋ฐ์ํ
๋ซ์ํฌ๋์ ๋ผ์ฟค์ ๋ค๋ฅด๋ค๊ตฌ์๐ ์ฌ์ค ๊ฐ๋ค๋ฉด ์ฌํผ..
Please add raccoon...
- ๋ชจ๋ธ ์์ค ์์น
github.com/tensorflow/tfjs-models/tree/master/mobilenet
- ๋ชจ๋ธ ์ฝ๋
<!-- Load TensorFlow.js. This is required to use MobileNet. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.1"> </script>
<!-- Load the MobileNet model. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/mobilenet@1.0.0"> </script>
<!-- Replace this with your image. Make sure CORS settings allow reading the image! -->
<img id="img" src="raccoon.jpg" width="300px"></img>
<!-- Place your code in the script tag below. You can also use an external .js file -->
<script>
// Notice there is no 'import' statement. 'mobilenet' and 'tf' is
// available on the index-page because of the script tag above.
const img = document.getElementById('img');
// Load the model.
mobilenet.load().then(model => {
// Classify the image.
model.classify(img).then(predictions => {
console.log('Predictions: ');
console.log(predictions);
});
});
</script>
๊ณ์ํด์ ์ ๋ฐ์ดํธํด ๋๊ฐ ์์ . with RACCOONS๐ค
- ์ฐธ๊ณ
728x90
๋ฐ์ํ
'studies > Back-end' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Tensorflow.js ์ ํํ๊ท๋ถ์ ๋ชจ๋ธ ์์ฑ๊ณผ ํ ์คํธํ๊ธฐ (0) | 2021.04.17 |
---|---|
Apache์ํ์น๋ก Tensorflow.js ์ฌ์ฉ์ ์ํ ๋ก์ปฌ ํธ์คํธ ์๋ฒ ๋ง๋ค๊ธฐ (0) | 2021.04.17 |
[H2] Database ์ค์นํ๊ณ ์คํํ๊ธฐ / Spring boot์ ์ฐ๋ํ๋ ๋ฒ (Maven ๊ธฐ์ค) (0) | 2021.04.01 |
[MongoDB] create user (0) | 2021.03.15 |
[MongoDB] Roboto 3T ์ฌ์ฉ๋ฒ (0) | 2021.03.15 |