@digipair/skill-web-ocr 0.25.5 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.fr.json +98 -0
- package/schema.json +20 -20
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-ocr",
|
|
5
|
+
"summary": "Extraction de texte OCR",
|
|
6
|
+
"description": "Cette compétence utilise la technologie OCR pour analyser les images et en extraire le texte, permettant ainsi une saisie automatique des données.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "📄"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/digipair-input-ocr-selector": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["boost"],
|
|
14
|
+
"summary": "Extraire le texte depuis une image du DOM",
|
|
15
|
+
"description": "Element permettant de récupérer le texte à partir d'une image présente dans le DOM",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "selector",
|
|
19
|
+
"summary": "Sélecteur CSS de l'image",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Sélecteur CSS de l'image présente dans le DOM",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "language",
|
|
28
|
+
"summary": "Langue du texte à extraire",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Langue du texte à extraire",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "required",
|
|
37
|
+
"summary": "Requis ?",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Lorsque le champs est requis, le boost ne peut pas être exécuté tant qu'aucune valeur n'a été saisie",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"x-events": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/digipair-input-ocr": {
|
|
49
|
+
"post": {
|
|
50
|
+
"tags": ["boost"],
|
|
51
|
+
"summary": "Extraire le texte d'une image",
|
|
52
|
+
"description": "Element permettant d'extraire le texte à partir d'une image fournie par l'utilisateur",
|
|
53
|
+
"parameters": [
|
|
54
|
+
{
|
|
55
|
+
"name": "language",
|
|
56
|
+
"summary": "Langue du texte",
|
|
57
|
+
"required": true,
|
|
58
|
+
"description": "Langue du texte à extraire",
|
|
59
|
+
"schema": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "label",
|
|
65
|
+
"summary": "Texte affiché",
|
|
66
|
+
"required": false,
|
|
67
|
+
"description": "Texte affiché à l'utilisateur pour le guider dans sa saisie",
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "accept",
|
|
74
|
+
"summary": "Type de fichier",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Type de fichiers acceptés",
|
|
77
|
+
"schema": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "required",
|
|
83
|
+
"summary": "Requis ?",
|
|
84
|
+
"required": false,
|
|
85
|
+
"description": "Champs requis pour exécuter le boost",
|
|
86
|
+
"schema": {
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"x-events": []
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"components": {
|
|
96
|
+
"schemas": {}
|
|
97
|
+
}
|
|
98
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-web-ocr",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "OCR Text Extraction",
|
|
6
|
+
"description": "This skill uses OCR technology to analyze images and extract text, enabling automatic data entry.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "📄"
|
|
9
9
|
},
|
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
"/digipair-input-ocr-selector": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["boost"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "Element
|
|
14
|
+
"summary": "Extract text from an image in the DOM",
|
|
15
|
+
"description": "Element for retrieving text from an image present in the DOM",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "selector",
|
|
19
|
-
"summary": "
|
|
19
|
+
"summary": "CSS selector of the image",
|
|
20
20
|
"required": true,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "CSS selector of the image present in the DOM",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "language",
|
|
28
|
-
"summary": "
|
|
28
|
+
"summary": "Language of the text to extract",
|
|
29
29
|
"required": true,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "Language of the text to extract",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "required",
|
|
37
|
-
"summary": "
|
|
37
|
+
"summary": "Required?",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "
|
|
39
|
+
"description": "When the field is required, the boost cannot be executed until a value has been entered",
|
|
40
40
|
"schema": {
|
|
41
41
|
"type": "boolean"
|
|
42
42
|
}
|
|
@@ -48,41 +48,41 @@
|
|
|
48
48
|
"/digipair-input-ocr": {
|
|
49
49
|
"post": {
|
|
50
50
|
"tags": ["boost"],
|
|
51
|
-
"summary": "
|
|
52
|
-
"description": "Element
|
|
51
|
+
"summary": "Extract text from an image",
|
|
52
|
+
"description": "Element for extracting text from an image provided by the user",
|
|
53
53
|
"parameters": [
|
|
54
54
|
{
|
|
55
55
|
"name": "language",
|
|
56
|
-
"summary": "
|
|
56
|
+
"summary": "Language of the text",
|
|
57
57
|
"required": true,
|
|
58
|
-
"description": "
|
|
58
|
+
"description": "Language of the text to extract",
|
|
59
59
|
"schema": {
|
|
60
60
|
"type": "string"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "label",
|
|
65
|
-
"summary": "
|
|
65
|
+
"summary": "Displayed text",
|
|
66
66
|
"required": false,
|
|
67
|
-
"description": "
|
|
67
|
+
"description": "Text displayed to the user to guide them in their input",
|
|
68
68
|
"schema": {
|
|
69
69
|
"type": "string"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "accept",
|
|
74
|
-
"summary": "
|
|
74
|
+
"summary": "File type",
|
|
75
75
|
"required": false,
|
|
76
|
-
"description": "
|
|
76
|
+
"description": "Accepted file types",
|
|
77
77
|
"schema": {
|
|
78
78
|
"type": "string"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"name": "required",
|
|
83
|
-
"summary": "
|
|
83
|
+
"summary": "Required?",
|
|
84
84
|
"required": false,
|
|
85
|
-
"description": "
|
|
85
|
+
"description": "Fields required to execute the boost",
|
|
86
86
|
"schema": {
|
|
87
87
|
"type": "boolean"
|
|
88
88
|
}
|