{"id":50928,"date":"2025-02-14T00:00:00","date_gmt":"2025-02-14T08:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/"},"modified":"2025-11-14T07:57:03","modified_gmt":"2025-11-14T15:57:03","slug":"color-palettes-extraction-using-webcam-and-ai","status":"publish","type":"post","link":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/","title":{"rendered":"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa"},"content":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.js\u3092\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3001GridDB\u3092\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u3001OpenAI\u3092\u9ad8\u5ea6\u306a\u753b\u50cf\u51e6\u7406\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u753b\u50cf\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u3001\u5206\u6790\u3001\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u751f\u6210\u3092\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3055\u305b\u305f\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u304b\u3089\u306e\u753b\u50cf\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u3001AI\u3092\u4f7f\u7528\u3057\u3066\u8272\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u30fb\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3092\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u4e8b\u524d\u6e96\u5099<\/h2>\n<p>\u59cb\u3081\u308b\u524d\u306b\u3001\u4ee5\u4e0b\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u30de\u30b7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<ul>\n<li>Node.js<\/li>\n<li>GridDB<\/li>\n<li>OpenAI API \u30a2\u30af\u30bb\u30b9<\/li>\n<li>\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u306b\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30d6\u30e9\u30a6\u30b6<\/li>\n<\/ul>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5b9f\u884c<\/h2>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u3053\u3053\u304b\u3089\u30af\u30ed\u30fc\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\uff1a <a href=\"https:\/\/github.com\/griddbnet\/Blogs\/tree\/color-extraction\">GitHub repository<\/a>.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">git clone https:\/\/github.com\/griddbnet\/Blogs.git --branch color-extraction<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001Node.js \u3068 GridDB \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u8981\u4ef6\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092 <code>apps<\/code> \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5909\u66f4\u3057\u3001\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">cd color-detection-openai\ncd apps\nnpm install<\/code><\/pre>\n<\/div>\n<p><code>.env<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001<code>.env.example<\/code> \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u3059\u3079\u3066\u306e\u74b0\u5883\u5909\u6570\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f OpenAI \u30ad\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002\u958b\u59cb\u3059\u308b\u306b\u306f\u300cGetting Started\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">OPENAI_API_KEY=sk-proj-secret\nVITE_APP_URL=http:\/\/localhost:3000<\/code><\/pre>\n<\/div>\n<p><code>VITE_APP_URL<\/code> \u3092\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5909\u66f4\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">npm run start:build<\/code><\/pre>\n<\/div>\n<p>\u30d6\u30e9\u30a6\u30b6\u3092\u958b\u304d\u3001<code>VITE_APP_URL<\/code>\u306b\u8a2d\u5b9a\u3055\u308c\u305fURL\uff08\u3053\u306e\u5834\u5408\u306f<code>http:\/\/localhost:3000<\/code>\uff09\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u3067\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3092\u6709\u52b9\u306b\u3057\u3001<strong>Capture<\/strong> \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u5199\u771f\u3092\u64ae\u5f71\u3057\u307e\u3059\u3002<\/p>\n<h2>\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<h3>1&#46; Node.js \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f Node.js \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002 <a href=\"https:\/\/nodejs.org\/en\/download\">\u3053\u3061\u3089<\/a> \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001<code>nvm<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3068 Node.js v16.20.2 LTS \u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\"># installs nvm (Node Version Manager)\ncurl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.7\/install.sh | bash\n\n# download and install Node.js\nnvm install 16\n\n# verifies the right Node.js version is in the environment\nnode -v # should print `v16.20.2`\n\n# verifies the right NPM version is in the environment\nnpm -v # should print `8.19.4``<\/code><\/pre>\n<\/div>\n<p>Node.js\u3068GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u63a5\u7d9a\u3059\u308b\u306b\u306f\u3001GridDB C Client\u3068Node addon API\u3092\u4f7f\u7528\u3057\u3066\u958b\u767a\u3055\u308c\u305fNode.js\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3067\u3042\u308b<a href=\"https:\/\/github.com\/nodejs\/node-addon-api\">gridb-node-api<\/a> npm\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3>2&#46; GridDB \u306e\u8a2d\u5b9a<\/h3>\n<p>GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u30ec\u30b7\u30d4\u3068\u6804\u990a\u5206\u6790\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u8a73\u7d30\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f<a href=\"https:\/\/docs.griddb.net\/latest\/gettingstarted\/using-apt\/#install-with-apt-get\">\u30ac\u30a4\u30c9<\/a>\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f Ubuntu 20.04 LTS \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>GridDB \u3092\u5b9f\u884c\u3057\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">sudo systemctl status gridstore<\/code><\/pre>\n<\/div>\n<p>\u5b9f\u884c\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">sudo systemctl start gridstore<\/code><\/pre>\n<\/div>\n<h3>3&#46; OpenAI \u30ad\u30fc\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<p>OpenAI \u30ad\u30fc\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u307e\u305a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u5f8c <a href=\"https:\/\/platform.openai.com\/api-keys\">\u30ad\u30fc\u3092\u4f5c\u6210<\/a>\uff3d \u3057\u307e\u3059\u3002\u91cd\u8981\u306a\u70b9\u306f\u3001OpenAI \u30ad\u30fc\u3092 <code>.env<\/code> \u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3001<code>.gitignore<\/code> \u306b\u8ffd\u52a0\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306b\u542b\u3081\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">OPENAI_API_KEY=sk-proj-secret<\/code><\/pre>\n<\/div>\n<p>\u3082\u30461\u3064\u306e\u91cd\u8981\u306a\u8981\u56e0\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9069\u3057\u305f\u30e2\u30c7\u30eb\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u753b\u50cf\u8a8d\u8b58\u3068\u753b\u50cf\u304b\u3089\u306e\u8272\u62bd\u51fa\u306e\u305f\u3081\u306b<code>gpt-4o<\/code>\u30e2\u30c7\u30eb\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/limit-models.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/limit-models.png\" alt=\"\" width=\"2947\" height=\"1651\" class=\"aligncenter size-full wp-image-31371\" srcset=\"\/wp-content\/uploads\/2025\/02\/limit-models.png 2947w, \/wp-content\/uploads\/2025\/02\/limit-models-300x168.png 300w, \/wp-content\/uploads\/2025\/02\/limit-models-1024x574.png 1024w, \/wp-content\/uploads\/2025\/02\/limit-models-768x430.png 768w, \/wp-content\/uploads\/2025\/02\/limit-models-1536x861.png 1536w, \/wp-content\/uploads\/2025\/02\/limit-models-2048x1147.png 2048w, \/wp-content\/uploads\/2025\/02\/limit-models-150x85.png 150w, \/wp-content\/uploads\/2025\/02\/limit-models-600x336.png 600w\" sizes=\"(max-width: 2947px) 100vw, 2947px\" \/><\/a><\/p>\n<p>AI\u30e2\u30c7\u30eb\u306e\u5fdc\u7b54\u306f\u975e\u6c7a\u5b9a\u8ad6\u7684\u3067\u3042\u308a\u3001\u3064\u307e\u308a\u3001\u5fdc\u7b54\u304c\u5fc5\u305a\u3057\u3082\u79c1\u305f\u3061\u306e\u671f\u5f85\u3059\u308b\u3082\u306e\u3068\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067<code>gpt-4o-mini<\/code>\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5fdc\u7b54\u304c\u9069\u5207\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u3088\u308a\u9ad8\u6027\u80fd\u306a\u30e2\u30c7\u30eb\uff08\u4f8b\uff1a<code>gpt-4o<\/code>\u30e2\u30c7\u30eb\uff09\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30e1\u30c7\u30a3\u30a2\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u305f\u753b\u50cf\u306e\u30ad\u30e3\u30d7\u30c1\u30e3<\/h2>\n<p>\u753b\u50cf\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u306b\u306f<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Media_Capture_and_Streams_API\">MediaStream API<\/a>\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306fWebRTC\u306b\u95a2\u9023\u3059\u308bAPI\u3067\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u3068\u30d3\u30c7\u30aa\u30c7\u30fc\u30bf\u306e\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u304b\u3089\u753b\u50cf\u3092\u53d6\u5f97\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3092\u521d\u671f\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">const initializeWebcam = () => {\n    navigator.mediaDevices.getUserMedia({\n            video: true\n        })\n        .then(stream => {\n            videoRef.current.srcObject = stream\n        })\n        .catch(error => {\n            console.error('getUserMedia error:', error)\n        })\n}<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u52d5\u753b\u304b\u3089\u753b\u50cf\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3059\u308b\u306b\u306f\u3001<code>drawImage\uff08\uff09<\/code> \u95a2\u6570\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">const captureImage = () => {\n    const context = canvasRef.current.getContext('2d')\n    context.drawImage(videoRef.current, 0, 0, canvasRef.current.width, canvasRef.current.height)\n\n    const base64Image = canvasRef.current.toDataURL('image\/jpeg')\n    processImage(base64Image)\n}<\/code><\/pre>\n<\/div>\n<p><code>drawImage\uff08\uff09<\/code> \u95a2\u6570\u306f\u3001\u52d5\u753b\u30b9\u30c8\u30ea\u30fc\u30e0\u304b\u3089\u73fe\u5728\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u3001\u30ad\u30e3\u30f3\u30d0\u30b9\u306b\u63cf\u753b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u3055\u3089\u306a\u308b\u64cd\u4f5c\u3001\u51e6\u7406\u3001\u307e\u305f\u306f\u5909\u63db\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u63d0\u4f9b\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30ad\u30e3\u30f3\u30d0\u30b9\u306b\u63cf\u753b\u3055\u308c\u305f\u753b\u50cf\u306f <code>toDataURL\uff08\uff09<\/code> \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 base64 \u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6587\u5b57\u5217\u306b\u5909\u63db\u3055\u308c\u3001\u305d\u306e\u5f8c\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u3066\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>OpenAI \u3092\u4f7f\u7528\u3057\u305f\u753b\u50cf\u51e6\u7406<\/h2>\n<p>\u30b5\u30fc\u30d0\u30fc\u3067\u306e\u753b\u50cf\u51e6\u7406\u306f\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3059\u3002\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u306f\u3001base64 \u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u753b\u50cf\u3092 <code>\/process-image<\/code> \u30eb\u30fc\u30c8\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">app.post('\/process-image', async (req, res) => {\n    const {\n        image\n    } = req.body\n\n    if (!image) {\n        return res.status(400).json({\n            error: 'No image provided'\n        })\n    }\n    \/\/ eslint-disable-next-line no-undef\n    const result = await getColorAnalysis(image)\n    res.json(result.choices[0])\n})<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u753b\u50cf\u304b\u3089\u8272\u5206\u6790\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u3001OpenAI\u306e<code>gpt-4o-mini<\/code>\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<code>getColorAnalysis\uff08\uff09<\/code>\u95a2\u6570\u306f\u3001Base64\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u753b\u50cf\u3092\u53d7\u3051\u53d6\u308a\u3001\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">async function getColorAnalysis(base64Image) {\n    const response = await openai.chat.completions.create({\n        model: \"gpt-4o-mini-2024-07-18\",\n        messages: [{\n                role: \"system\",\n                content: systemPrompt\n            },\n            {\n                role: \"user\",\n                content: [{\n                        type: \"image_url\",\n                        image_url: {\n                            url: base64Image\n                        }\n                    },\n                    {\n                        type: \"text\",\n                        text: userPrompt\n                    }\n                ]\n            }\n        ],\n        temperature: 0.51,\n        max_tokens: 3000,\n        top_p: 1,\n        frequency_penalty: 0,\n        presence_penalty: 0,\n    });\n\n    return response;\n}<\/code><\/pre>\n<\/div>\n<p>OpenAI\u306e\u30e2\u30c7\u30eb\u5fdc\u7b54\u306f\u3001\u4e0e\u3048\u3089\u308c\u305f\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u3088\u3063\u3066\u6c7a\u5b9a\u3055\u308c\u307e\u3059\u3002\u8272\u5206\u6790\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u7279\u5b9a\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">const userPrompt = \"Extract the seven most prominent colors from the provided image. Use color clustering techniques to identify and present these colors in Hex values. Answer with the raw array values ONLY. DO NOT FORMAT IT.\";<\/code><\/pre>\n<\/div>\n<p>OpenAI\u30e2\u30c7\u30eb\u306b\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u826f\u3044\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u3001OpenAI\u30e2\u30c7\u30eb\u304c\u7279\u5b9a\u306e\u30da\u30eb\u30bd\u30ca\uff08<strong>\u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u306a\u30ab\u30e9\u30fc\u30a2\u30ca\u30ea\u30b9\u30c8<\/strong>\uff09\u3068\u3057\u3066\u884c\u52d5\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3046\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">const systemPrompt = `You are an AI specialized in colorimetry, the science and technology of color detection and measurement. You possess deep knowledge of the principles of color science, including color spaces, color matching functions, and the use of devices such as spectrophotometers and colorimeters. You provide accurate and detailed analyses of color properties, offer solutions for color consistency issues, and assist in applications ranging from imaging and printing to manufacturing and display technologies. Use your expertise to answer questions, solve problems, and provide color detection and measurement guidance.`;<\/code><\/pre>\n<\/div>\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u306f\u3001\u30e2\u30c7\u30eb\u306e\u51fa\u529b\u5f62\u5f0f\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u753b\u50cf\u306e\u8272\u5206\u6790\u304b\u3089\u5f97\u3089\u308c\u305f\u8272\u306e\u914d\u5217\u3092\u51fa\u529b\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002OpenAI\u30e2\u30c7\u30eb\u306e\u51fa\u529b\u5f62\u5f0f\u306f\u3001\u4ee5\u4e0b\u306e\u5f62\u5f0f\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">['#2A2C9B', '#F08A7D', '#8E5DB2', '#E8A1A3', '#4D3B9E', '#7F3C8F', '#B57AB3']<\/code><\/pre>\n<\/div>\n<p>\u914d\u5217\u306e\u5404\u8981\u7d20\u304c16\u9032\u6570\u5f62\u5f0f\u306e\u8272\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>GridDB\u3078\u306e\u30c7\u30fc\u30bf\u683c\u7d0d<\/h2>\n<p>\u30c7\u30fc\u30bf\u683c\u7d0d\u306b\u306fGridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e3b\u306a\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u305d\u306e\u8aac\u660e\u3092\u8a18\u8f09\u3057\u307e\u3059\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5217\u540d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ID<\/td>\n<td>\u6574\u6570<\/td>\n<td>\u5404\u884c\u306e\u56fa\u6709\u8b58\u5225\u5b50\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u771f<\/td>\n<td>\u30d6\u30ed\u30d6<\/td>\n<td>Base64\u753b\u50cf\u30a8\u30f3\u30b3\u30fc\u30c9\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u8272<\/td>\n<td>\u6587\u5b57\u5217<\/td>\n<td>\u30d8\u30c3\u30af\u30b9\u5f62\u5f0f\u306e\u8272\u4e00\u89a7\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><code>saveData\uff08\uff09<\/code> \u95a2\u6570\u306f\u3001<code>libsgriddb.cjs<\/code> \u30d5\u30a1\u30a4\u30eb\u5185\u306e <code>insert\uff08\uff09<\/code> \u95a2\u6570\u306e\u30e9\u30c3\u30d1\u30fc\u3067\u3059\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u30c7\u30fc\u30bf\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u5f79\u5272\u3092\u62c5\u3063\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u308b\u4e3b\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u306f2\u3064\u3060\u3051\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">export async function saveData({ image, genColors }) {\n    const id = generateRandomID()\n    const picture = Buffer(image)\n    const colors = String(genColors)\n\n    const packetInfo = [parseInt(id), picture, colors]\n    const saveStatus = await GridDB.insert(packetInfo, collectionDb)\n    return saveStatus\n}<\/code><\/pre>\n<\/div>\n<p>\u753b\u50cf\u306e\u8272\u5206\u6790\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30eb\u30fc\u30c8 <code>\/process-image<\/code> \u3067\u4fdd\u5b58\u30c7\u30fc\u30bf\u6a5f\u80fd\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u753b\u50cf\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3059\u308b\u305f\u3073\u306b\u3001\u305d\u306e\u753b\u50cf\u306f\u81ea\u52d5\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u3001\u305d\u306e\u7d50\u679c\u306e\u30c7\u30fc\u30bf\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">app.post('\/process-image', async (req, res) => {\n    const { image } = req.body\n\n    if (!image) {\n        return res.status(400).json({ error: 'No image provided' })\n    }\n\n    \/\/ eslint-disable-next-line no-undef\n    const result = await getColorAnalysis(image)\n    const colorsArray = result.choices[0].message.content\n\n    \/\/ save data to the database\n    const saveStatus = await saveData(image, colorsArray)\n    console.log(saveStatus)\n\n    res.json(result.choices[0])\n})<\/code><\/pre>\n<\/div>\n<h2>\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u69cb\u7bc9<\/h2>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/app-screenshot.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/app-screenshot.png\" alt=\"\" width=\"2963\" height=\"1233\" class=\"aligncenter size-full wp-image-31367\" srcset=\"\/wp-content\/uploads\/2025\/02\/app-screenshot.png 2963w, \/wp-content\/uploads\/2025\/02\/app-screenshot-300x125.png 300w, \/wp-content\/uploads\/2025\/02\/app-screenshot-1024x426.png 1024w, \/wp-content\/uploads\/2025\/02\/app-screenshot-768x320.png 768w, \/wp-content\/uploads\/2025\/02\/app-screenshot-1536x639.png 1536w, \/wp-content\/uploads\/2025\/02\/app-screenshot-2048x852.png 2048w, \/wp-content\/uploads\/2025\/02\/app-screenshot-600x250.png 600w\" sizes=\"(max-width: 2963px) 100vw, 2963px\" \/><\/a><\/p>\n<p>UI\u306f2\u3064\u306e\u4e3b\u8981\u306a\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304b\u3089\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\uff1a<strong>\u753b\u50cf\u30ad\u30e3\u30d7\u30c1\u30e3<\/strong>\u3068<strong>\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8<\/strong>\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u7ba1\u7406\u306e\u6539\u5584\u306e\u305f\u3081\u306bReact.js\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u753b\u50cf\u30ad\u30e3\u30d7\u30c1\u30e3<\/h3>\n<p>\u753b\u50cf\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u3001\u5358\u7d14\u306aHTML5\u30d3\u30c7\u30aa\u30d3\u30e5\u30fc\u3067\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u4e3b\u8981\u306aHTML\u30bf\u30b0\u3092\u793a\u3059\u30b9\u30cb\u30da\u30c3\u30c8\u30b3\u30fc\u30c9\u3067\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">\/\/ WebcamContainer.js\nconst WebcamContainer = ({ onColorsExtracted }) => {\n\n   const captureImage = () => {\n      const context = canvasRef.current.getContext('2d')\n      context.drawImage(videoRef.current, 0, 0, canvasRef.current.width, canvasRef.current.height)\n\n      const base64Image = canvasRef.current.toDataURL('image\/jpeg')\n      processImage(base64Image)\n    }\n    \/\/ code processing here\n\n    return (\n        &lt;div id=\"webcam-container\">\n            &lt;video id=\"webcam\" ref={videoRef} autoPlay playsInline width=\"640\" height=\"480\">&lt;\/video>\n            &lt;canvas id=\"canvas\" ref={canvasRef} width=\"640\" height=\"480\" style={{ display: 'none' }}>&lt;\/canvas>\n            &lt;button id=\"capture\" onClick={captureImage}>Capture&lt;\/button>\n            &lt;button id=\"switch-camera\" onClick={switchCamera}>Switch Camera&lt;\/button>\n        &lt;\/div>\n    )\n}\nexport default WebcamContainer<\/code><\/pre>\n<\/div>\n<p><strong>Capture<\/strong> \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001<code>captureImage\uff08\uff09<\/code> \u95a2\u6570\u304c\u6307\u5b9a\u3055\u308c\u305f\u52d5\u753b\u30d5\u30ec\u30fc\u30e0\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u3001\u3055\u3089\u306b\u51e6\u7406\u306e\u305f\u3081\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002\u30a4\u30e1\u30fc\u30b8\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5b8c\u5168\u306a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f <code>WebcamContainer.jsx<\/code> \u30d5\u30a1\u30a4\u30eb\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8<\/h3>\n<p>\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u3001\u52d5\u7684\u306b\u8272\u4ed8\u3051\u3055\u308c\u305f SVG \u77e9\u5f62\u3092\u9023\u7d9a\u3057\u3066\u914d\u7f6e\u3059\u308b\u3053\u3068\u3067\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">\/\/ eslint-disable-next-line react\/prop-types\nconst ColorRectangles = ({ colors }) => {\n    return (\n        &lt;svg\n            \n            viewBox=\"0 0 700 100\"\n            className=\"mx-auto\">\n            {colors.map((color, index) => (\n                &lt;rect\n                    key={index}\n                    x={index * 100}\n                    y=\"0\"\n                    width=\"100\"\n                    height=\"100\"\n                    fill={color}>&lt;\/rect>\n            ))}\n        &lt;\/svg>\n    )\n}\n\nexport default ColorRectangles<\/code><\/pre>\n<\/div>\n<p>\u4f8b\u3048\u3070\u3001colors \u914d\u5217\u306e\u30c7\u30fc\u30bf\u304c\u6b21\u306e\u3088\u3046\u306a\u5834\u5408\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">['#4B8B3B', '#C4B600', '#7D7D7D', '#E3D4A0', '#2E2E2E', '#F6F1D3', '#A6A6A6']<\/code><\/pre>\n<\/div>\n<p>\u305d\u306e\u5f8c\u3001\u8272\u306f\u30a6\u30a7\u30d6\u4e0a\u3067\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\uff1a<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/color-palette-ui.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/color-palette-ui.png\" alt=\"\" width=\"630\" height=\"134\" class=\"aligncenter size-full wp-image-31369\" srcset=\"\/wp-content\/uploads\/2025\/02\/color-palette-ui.png 630w, \/wp-content\/uploads\/2025\/02\/color-palette-ui-300x64.png 300w, \/wp-content\/uploads\/2025\/02\/color-palette-ui-600x128.png 600w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<h2>\u30b5\u30fc\u30d0\u30fc \u30eb\u30fc\u30c8<\/h2>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306e4\u3064\u306e\u30b5\u30fc\u30d0\u30fc \u30eb\u30fc\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>POST <code>\/process-image<\/code><\/h3>\n<p>\u753b\u50cf\u3092\u8272\u5206\u6790\u306e\u305f\u3081\u306b\u51e6\u7406\u3057\u307e\u3059\u3002<\/p>\n<h3>GET <code>\/colors<\/code><\/h3>\n<p><code>\/colors<\/code> \u30eb\u30fc\u30c8\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/colors-data.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/colors-data.jpeg\" alt=\"\" width=\"1539\" height=\"984\" class=\"aligncenter size-full wp-image-31370\" srcset=\"\/wp-content\/uploads\/2025\/02\/colors-data.jpeg 1539w, \/wp-content\/uploads\/2025\/02\/colors-data-300x192.jpeg 300w, \/wp-content\/uploads\/2025\/02\/colors-data-1024x655.jpeg 1024w, \/wp-content\/uploads\/2025\/02\/colors-data-768x491.jpeg 768w, \/wp-content\/uploads\/2025\/02\/colors-data-1536x982.jpeg 1536w, \/wp-content\/uploads\/2025\/02\/colors-data-600x384.jpeg 600w\" sizes=\"(max-width: 1539px) 100vw, 1539px\" \/><\/a><\/p>\n<h3>GET <code>\/colors\/\uff1aid<\/code><\/h3>\n<p>ID\u306b\u57fa\u3065\u3044\u3066\u4fdd\u5b58\u3055\u308c\u305f\u8272\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/color-id.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/02\/color-id.jpeg\" alt=\"\" width=\"1291\" height=\"753\" class=\"aligncenter size-full wp-image-31368\" srcset=\"\/wp-content\/uploads\/2025\/02\/color-id.jpeg 1291w, \/wp-content\/uploads\/2025\/02\/color-id-300x175.jpeg 300w, \/wp-content\/uploads\/2025\/02\/color-id-1024x597.jpeg 1024w, \/wp-content\/uploads\/2025\/02\/color-id-768x448.jpeg 768w, \/wp-content\/uploads\/2025\/02\/color-id-600x350.jpeg 600w\" sizes=\"(max-width: 1291px) 100vw, 1291px\" \/><\/a><\/p>\n<p>The data response for the <code>picture<\/code> field is a <code>Buffer<\/code> type so to process it in the browser, we need to change it into a readable format first.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">\/**\n * Extracting the buffer data\n * Assume the result data name is jsonData \n *\/\nconst bufferData = jsonData[0][1].data;\n\n\/\/ Converting buffer data to Uint8Array object\nconst uint8Array = new Uint8Array(bufferData);\n\n\/\/ Converting Uint8Array to UTF-8 string\nconst utf8String = new TextDecoder('utf-8').decode(uint8Array);\n\nconsole.log(utf8String);<\/code><\/pre>\n<\/div>\n<h3>GET <code>\/delete\/\uff1aid<\/code><\/h3>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u3092ID\u3067\u524a\u9664\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001ID\u304c<code>8900<\/code>\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3059\u308b\u306b\u306f\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-js\">http:\/\/localhost:3000\/delete\/8900<\/code><\/pre>\n<\/div>\n<p>Tools like PostmaPostman \u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066 API \u3092\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>SQL \u30c7\u30fc\u30bf\u30c6\u30b9\u30c8<\/h2>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u30c7\u30fc\u30bf\u3092\u691c\u8a3c\u3059\u308b\u306b\u306f\u3001CLI \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001Ubuntu 20.04 LTS \u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>GridDB \u30e6\u30fc\u30b6\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">sudo su gsadm<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066GridDB\u30b7\u30a7\u30eb\u306b\u5165\u308a\u307e\u3059\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">gs_sh<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b7\u30a7\u30eb\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u4e00\u89a7\u8868\u793a\u3057\u3001\u4efb\u610f\u306eSQL\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">gs[public]> showcontainer\ngs[public]> select * from ColorPalettes;\n1 results (38ms)\ngs[public]> delete from ColorPalettes where id=6609;<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.js\u3092\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3001GridDB\u3092\u52b9\u7387\u7684\u306a\u30c7\u30fc [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49776,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/color-palettes-extraction-using-webcam-and-ai\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/color-palettes-extraction-using-webcam-and-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-14T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:57:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1463\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa\",\"datePublished\":\"2025-02-14T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:57:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/\"},\"wordCount\":124,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/\",\"name\":\"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg\",\"datePublished\":\"2025-02-14T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:57:03+00:00\",\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg\",\"width\":2560,\"height\":1463},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/color-palettes-extraction-using-webcam-and-ai\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/color-palettes-extraction-using-webcam-and-ai\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2025-02-14T08:00:00+00:00","article_modified_time":"2025-11-14T15:57:03+00:00","og_image":[{"width":2560,"height":1463,"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg","type":"image\/jpeg"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa","datePublished":"2025-02-14T08:00:00+00:00","dateModified":"2025-11-14T15:57:03+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/"},"wordCount":124,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/","name":"\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3068 AI \u3092\u7528\u3044\u305f\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u62bd\u51fa | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg","datePublished":"2025-02-14T08:00:00+00:00","dateModified":"2025-11-14T15:57:03+00:00","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u305f\u753b\u50cf\u304b\u3089\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u3001Node.js\u3001GridDB\u3001OpenAI\u3092\u4f7f\u7528\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002Node.","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/color-palettes-extraction-using-webcam-and-ai\/#primaryimage","url":"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg","contentUrl":"\/wp-content\/uploads\/2025\/02\/webcam-ai-processing-scaled.jpg","width":2560,"height":1463},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/comments?post=50928"}],"version-history":[{"count":1,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50928\/revisions"}],"predecessor-version":[{"id":51744,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50928\/revisions\/51744"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media\/49776"}],"wp:attachment":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media?parent=50928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/categories?post=50928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/tags?post=50928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}