labelImage.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "about": {
  3. "trial": false,
  4. "author": {
  5. "name": "EMQ",
  6. "email": "contact@emqx.io",
  7. "company": "EMQ Technologies Co., Ltd",
  8. "website": "https://www.emqx.io"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://ekuiper.org/docs/en/latest/sqls/custom_functions.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/sqls/custom_functions.html"
  13. },
  14. "description": {
  15. "en_US": "Example plugin to demonstrate inferring Tensorflow lite model to label an image",
  16. "zh_CN": "示例插件,演示如何使用Tensorflow lite模型对图像进行标记推断。"
  17. }
  18. },
  19. "name": "labelImage",
  20. "functions": [{
  21. "name": "labelImage",
  22. "example": "labelImage(col1)",
  23. "hint": {
  24. "en_US": "Label an image by tensorflow lite model.",
  25. "zh_CN": "采用 tensorflow lite 模型标记图片。"
  26. },
  27. "args": [
  28. {
  29. "name": "image",
  30. "hidden": false,
  31. "optional": false,
  32. "control": "field",
  33. "type": "string",
  34. "hint": {
  35. "en_US": "Input image",
  36. "zh_CN": "输入图像"
  37. },
  38. "label": {
  39. "en_US": "Image",
  40. "zh_CN": "图像"
  41. }
  42. }
  43. ],
  44. "return": {
  45. "type": "string",
  46. "hint": {
  47. "en_US": "Image Label",
  48. "zh_CN": "图像标注"
  49. }
  50. },
  51. "node": {
  52. "category": "function",
  53. "icon": "iconPath",
  54. "label": {
  55. "en_US": "Label Image",
  56. "zh_CN": "图像标注"
  57. }
  58. }
  59. }]
  60. }