diff --git a/test_data/labels/label_051/expected_output.json b/test_data/labels/label_015/expected_output.json similarity index 100% rename from test_data/labels/label_051/expected_output.json rename to test_data/labels/label_015/expected_output.json diff --git a/test_data/labels/label_051/img_001.png b/test_data/labels/label_015/img_001.png similarity index 100% rename from test_data/labels/label_051/img_001.png rename to test_data/labels/label_015/img_001.png diff --git a/test_data/labels/label_051/img_002.png b/test_data/labels/label_015/img_002.png similarity index 100% rename from test_data/labels/label_051/img_002.png rename to test_data/labels/label_015/img_002.png diff --git a/test_data/labels/label_024/expected_output.json b/test_data/labels/label_024/expected_output.json new file mode 100644 index 0000000..ccb0e4f --- /dev/null +++ b/test_data/labels/label_024/expected_output.json @@ -0,0 +1,102 @@ +{ + "company_name": "Matériaux Paysagers Savaria Ltée", + "company_address": "950, de Lorraine Boucherville (Québec) J48 SE4", + "company_website": "http://www.savaria.ca", + "company_phone_number": "450 655-6147", + "manufacturer_name": null, + "manufacturer_address": null, + "manufacturer_website": null, + "manufacturer_phone_number": null, + "fertiliser_name": "COMPOST DE CREVETTES (3300)", + "registration_number": null, + "lot_number": null, + "weight": [ + { + "value": null, + "unit": "kg" + }, + { + "value": null, + "unit": "lb" + } + ], + "density": { + "value": null, + "unit": null + }, + "volume": { + "value": null, + "unit": null + }, + "npk": null, + "guaranteed_analysis_en": { + "title": null, + "nutrients": null + }, + "guaranteed_analysis_fr": { + "title": "Guaranteed Analysis", + "nutrients": [ + { + "nutrient": "PH", + "value": 6, + "unit": null + }, + { + "nutrient": "Matière organique (Walkley-Black)", + "value": 60, + "unit": "%" + }, + { + "nutrient": "Azote total N (base tel que reçu)", + "value": 0.55, + "unit": "%" + }, + { + "nutrient": "Phosphore total P205 (base tel que reçu)", + "value": 0.7, + "unit": "%" + }, + { + "nutrient": "Potassium total K20 (base tel que reçu)", + "value": 0.1, + "unit": "%" + }, + { + "nutrient": "Magnésium total Mg (base tel que reçu)", + "value": 0.1, + "unit": "%" + }, + { + "nutrient": "Calcium total Ca (base tel que reçu)", + "value": 1.55, + "unit": "%" + } + ] + }, + "ingredients_en": null, + "ingredients_fr": [ + { + "ingredient": "Canadian sphagnum peat moss", + "value": null, + "unit": null + }, + { + "ingredient": "compost", + "value": null, + "unit": null + }, + { + "ingredient": "shrimp residues", + "value": null, + "unit": null + } + ], + "cautions_en": null, + "cautions_fr": null, + "instructions_en": null, + "instructions_fr": [ + "Fertilisation d'une pelouse établie : terreautage 1 m3 / 150 m2", + "Fertilisation du site d'établissement d'une nouvelle pelouse : 2 à 5 cm incorporés sur 15 cm de profondeur.", + "Fertilisation d'un lit de plantation de potager, vivaces et arbustes : 3 ou 6 cm incorporés sur 15 cm de profondeur plus ou moins. Ne pas utiliser plus d'un an sur deux au taux de 6 cm." + ] + } diff --git a/test_data/labels/label_024/img_001.png b/test_data/labels/label_024/img_001.png new file mode 100644 index 0000000..e9e5306 Binary files /dev/null and b/test_data/labels/label_024/img_001.png differ diff --git a/test_data/labels/label_025/expected_output.json b/test_data/labels/label_025/expected_output.json index ccb0e4f..e33b9c1 100644 --- a/test_data/labels/label_025/expected_output.json +++ b/test_data/labels/label_025/expected_output.json @@ -1,102 +1,78 @@ { - "company_name": "Matériaux Paysagers Savaria Ltée", - "company_address": "950, de Lorraine Boucherville (Québec) J48 SE4", - "company_website": "http://www.savaria.ca", - "company_phone_number": "450 655-6147", - "manufacturer_name": null, - "manufacturer_address": null, - "manufacturer_website": null, - "manufacturer_phone_number": null, - "fertiliser_name": "COMPOST DE CREVETTES (3300)", - "registration_number": null, - "lot_number": null, - "weight": [ - { - "value": null, - "unit": "kg" - }, - { - "value": null, - "unit": "lb" - } - ], - "density": { + "company_name": null, + "company_address": null, + "company_website": null, + "company_phone_number": null, + "manufacturer_name": "Stoller Enterprises, Inc.", + "manufacturer_address": "9090 Katy Freeway, Suite 400 Houston, TX 77024 USA", + "manufacturer_website": null, + "manufacturer_phone_number": "1-800-539-5283 or 713-461-1493", + "fertiliser_name": "Balancer", + "registration_number": null, + "lot_number": null, + "weight": [ + { "value": null, - "unit": null + "unit": "kg" }, - "volume": { + { "value": null, - "unit": null - }, - "npk": null, - "guaranteed_analysis_en": { - "title": null, - "nutrients": null - }, - "guaranteed_analysis_fr": { - "title": "Guaranteed Analysis", - "nutrients": [ - { - "nutrient": "PH", - "value": 6, - "unit": null - }, - { - "nutrient": "Matière organique (Walkley-Black)", - "value": 60, - "unit": "%" - }, - { - "nutrient": "Azote total N (base tel que reçu)", - "value": 0.55, - "unit": "%" - }, - { - "nutrient": "Phosphore total P205 (base tel que reçu)", - "value": 0.7, - "unit": "%" - }, - { - "nutrient": "Potassium total K20 (base tel que reçu)", - "value": 0.1, - "unit": "%" - }, - { - "nutrient": "Magnésium total Mg (base tel que reçu)", - "value": 0.1, - "unit": "%" - }, - { - "nutrient": "Calcium total Ca (base tel que reçu)", - "value": 1.55, - "unit": "%" - } - ] - }, - "ingredients_en": null, - "ingredients_fr": [ + "unit": "lb" + } + ], + "density": { + "value": null, + "unit": null + }, + "volume": { + "value": null, + "unit": null + }, + "npk": null, + "guaranteed_analysis_en": { + "title": "Guaranteed Analysis", + "nutrients": [ { - "ingredient": "Canadian sphagnum peat moss", - "value": null, - "unit": null + "nutrient": "Boron (B)", + "value": 9, + "unit": "%" }, { - "ingredient": "compost", - "value": null, - "unit": null + "nutrient": "Molybdenum (Mo)", + "value": 0.005, + "unit": "%" + } + ] + }, + "guaranteed_analysis_fr": { + "title": "Analyse garantie", + "nutrients": [ + { + "nutrient": "Bore", + "value": 9, + "unit": "%" }, { - "ingredient": "shrimp residues", - "value": null, - "unit": null + "nutrient": "Molybdène", + "value": 0.005, + "unit": "%" } - ], - "cautions_en": null, - "cautions_fr": null, - "instructions_en": null, - "instructions_fr": [ - "Fertilisation d'une pelouse établie : terreautage 1 m3 / 150 m2", - "Fertilisation du site d'établissement d'une nouvelle pelouse : 2 à 5 cm incorporés sur 15 cm de profondeur.", - "Fertilisation d'un lit de plantation de potager, vivaces et arbustes : 3 ou 6 cm incorporés sur 15 cm de profondeur plus ou moins. Ne pas utiliser plus d'un an sur deux au taux de 6 cm." ] - } + }, + "ingredients_en": null, + "ingredients_fr": null, + "cautions_en": [ + "This fertilizer contains Boron and Molybdenum and should be used only as recommended. It may prove harmful when misused. Information about the components of this fertilizer may be obtained by writing to the manufacturer stated below." + ], + "cautions_fr": [ + "Cet engrais contient du Bore et Molybdène et doit être utilisé uniquement selon les recommandations. Il peut s'avérer nocif lorsque mal utilisé. Des informations sur les composants de cet engrais peuvent être obtenues en écrivant au fabricant indiqué ci-dessous." + ], + "instructions_en": [ + "This product should be used on the basis of a soil and/or tissue analysis in accordance with recommendations of a qualified individual or institution, such as a certified crop advisor, agronomist, university crop extension publication or apply according to recommendations in your approved nutrient management plan.", + "Do not mix with other fertilizers/chemicals without a compatibility test. An adequate test for compatibility involves mixing in a small container the proper proportions of the product with water and the other ingredients. Agitate and let stand for one hour. Should a precipitate form, apply the products separately." + ], + "instructions_fr": [ + "Ce produit doit être utilisé sur la base d'une analyse du sol et/ou des tissus et conformément aux recommandations d'une personne ou d'une institution qualifiée, comme un conseiller en culture certifié, un agronome ou une publication universitaire de vulgarisation agricole, ou appliqué selon les recommandations de votre plan de gestion des éléments nutritifs approuvé.", + "Ne pas mélanger avec d'autres engrais/produits chimiques sans test de compatibilité. Un test adéquat pour la compatibilité consiste à mélanger dans un petit récipient les bonnes proportions du produit avec de l'eau et les autres ingrédients. Agiter et laisser reposer une heure. En cas de formation d'un précipité, appliquer les produits séparément." + ] +} diff --git a/test_data/labels/label_025/img_001.png b/test_data/labels/label_025/img_001.png index e9e5306..afc047d 100644 Binary files a/test_data/labels/label_025/img_001.png and b/test_data/labels/label_025/img_001.png differ diff --git a/test_data/labels/label_026/expected_output.json b/test_data/labels/label_026/expected_output.json new file mode 100644 index 0000000..41525fb --- /dev/null +++ b/test_data/labels/label_026/expected_output.json @@ -0,0 +1,61 @@ +{ + "company_name": null, + "company_address": null, + "company_website": null, + "company_phone_number": null, + "manufacturer_name": "ETI MADEN MINES AND PRODUCTS", + "manufacturer_address": "03010 Etlik/Kecioren Ankara-Turkey Bahçekapi Mah. Fatih Sultan Mehmet Bulvan No:179 Postcode:05377 Esmesgut / ANKARA, TURKEY", + "manufacturer_website": null, + "manufacturer_phone_number": null, + "fertiliser_name": "Granular Ulexite", + "registration_number": "2020056B", + "lot_number": "6151", + "weight": [ + { + "value": 1200, + "unit": "kg" + }, + { + "value": 2645, + "unit": "lb" + } + ], + "density": { + "value": null, + "unit": null + }, + "volume": { + "value": null, + "unit": null + }, + "npk": null, + "guaranteed_analysis_en": { + "title": "Guaranteed Analysis", + "nutrients": [ + { + "nutrient": "Boron (B)", + "value": 10.1, + "unit": "%" + } + ] + }, + "guaranteed_analysis_fr": { + "title": null, + "nutrients": null + }, + "ingredients_en": null, + "ingredients_fr": null, + "cautions_en": [ + "This fertilizer contains boron and should be used only as recommended. It may prove harmful when misused." + ], + "cautions_fr": null, + "instructions_en": [ + "This product can be used as a fertilizer, micronutrient, and component used for formulating fertilizers as a source for plant micronutrients.", + "Granular Ulexite is compatible with most pesticides and fertilizers. However, if the desired combination has not been previously used, a compatibility test is recommended.", + "It is recommended for use on field, vegetable, fruit, and nut crops.", + "It is applied to soil.", + "Because the function of boron and nitrogen are related in plant nutrition, applications with nitrogen-containing fertilizers often enhances results.", + "Thorough and uniform application coverage are necessary for best results and to prevent crop injury." + ], + "instructions_fr": null + } diff --git a/test_data/labels/label_026/img_001.png b/test_data/labels/label_026/img_001.png new file mode 100644 index 0000000..d527c89 Binary files /dev/null and b/test_data/labels/label_026/img_001.png differ diff --git a/test_data/labels/label_027/expected_output.json b/test_data/labels/label_027/expected_output.json index e33b9c1..1735cfc 100644 --- a/test_data/labels/label_027/expected_output.json +++ b/test_data/labels/label_027/expected_output.json @@ -1,78 +1,156 @@ { - "company_name": null, - "company_address": null, - "company_website": null, - "company_phone_number": null, - "manufacturer_name": "Stoller Enterprises, Inc.", - "manufacturer_address": "9090 Katy Freeway, Suite 400 Houston, TX 77024 USA", - "manufacturer_website": null, - "manufacturer_phone_number": "1-800-539-5283 or 713-461-1493", - "fertiliser_name": "Balancer", - "registration_number": null, - "lot_number": null, - "weight": [ - { - "value": null, - "unit": "kg" - }, - { - "value": null, - "unit": "lb" - } - ], - "density": { - "value": null, - "unit": null - }, - "volume": { - "value": null, - "unit": null - }, - "npk": null, - "guaranteed_analysis_en": { - "title": "Guaranteed Analysis", - "nutrients": [ + "company_name": "Synagri s.e.c./l.p", + "company_address": "4075, rue Industrielle, Contrecoeur, Qc, JOL 1CO", + "company_website": null, + "company_phone_number": null, + "manufacturer_name": null, + "manufacturer_address": null, + "manufacturer_website": null, + "manufacturer_phone_number": null, + "fertiliser_name": "15-5-15 40% LENT 1.5 MG 3s .3ZN .3MN", + "registration_number": null, + "lot_number": null, + "weight": [ { - "nutrient": "Boron (B)", - "value": 9, - "unit": "%" + "value": 25, + "unit": "kg" }, { - "nutrient": "Molybdenum (Mo)", - "value": 0.005, - "unit": "%" - } - ] - }, - "guaranteed_analysis_fr": { - "title": "Analyse garantie", - "nutrients": [ - { - "nutrient": "Bore", - "value": 9, - "unit": "%" - }, - { - "nutrient": "Molybdène", - "value": 0.005, - "unit": "%" + "value": null, + "unit": "lb" } + ], + "density": { + "value": 1036, + "unit": "kg/m3 ou 64.74 lbs/pi3" + }, + "volume": { + "value": null, + "unit": null + }, + "npk": "2015-05-15", + "guaranteed_analysis_en": { + "title": "Guaranteed Analysis", + "nutrients": [ + { + "nutrient": "Total Nitrogen", + "value": 15.0, + "unit": "%" + }, + { + "nutrient": "Available Phosphoric acid", + "value": 5.0, + "unit": "%" + }, + { + "nutrient": "Soluble Potassium", + "value": 15.0, + "unit": "%" + }, + { + "nutrient": "Magnesium", + "value": 1.6, + "unit": "%" + }, + { + "nutrient": "Sulfur (S)", + "value": 2.72, + "unit": "%" + }, + { + "nutrient": "Boron (B)", + "value": 0.030, + "unit": "%" + }, + { + "nutrient": "Zinc (Zn)", + "value": 0.600, + "unit": "%" + }, + { + "nutrient": "Copper (Cu)", + "value": 0.030, + "unit": "%" + }, + { + "nutrient": "Manganese (Mn)", + "value": 0.150, + "unit": "%" + }, + { + "nutrient": "Calcium (Ca)", + "value": 1.21, + "unit": "%" + } + ] + }, + "guaranteed_analysis_fr": { + "title": "Guaranteed Analysis", + "nutrients": [ + { + "nutrient": "Azote total", + "value": 15.0, + "unit": "%" + }, + { + "nutrient": "Acide Phosphorique assimilable", + "value": 5.0, + "unit": "%" + }, + { + "nutrient": "Potasse soluble", + "value": 15.0, + "unit": "%" + }, + { + "nutrient": "Magnésium", + "value": 1.6, + "unit": "%" + }, + { + "nutrient": "Soufre (S)", + "value": 2.72, + "unit": "%" + }, + { + "nutrient": "Bore (B)", + "value": 0.030, + "unit": "%" + }, + { + "nutrient": "Zinc (Zn)", + "value": 0.600, + "unit": "%" + }, + { + "nutrient": "Cuivre (Cu)", + "value": 0.030, + "unit": "%" + }, + { + "nutrient": "Manganèse (Mn)", + "value": 0.150, + "unit": "%" + }, + { + "nutrient": "Calcium (Ca)", + "value": 1.21, + "unit": "%" + } + ] + }, + "ingredients_en": null, + "ingredients_fr": null, + "cautions_en": [ + "This fertilizer contains Boron (B), Zinc (Zn), Copper (Cu), Manganese (Mn) and should be used only as recommended. May be harmful if misused." + ], + "cautions_fr": [ + "Cet engrais renferme du Bore (B), Zinc (Zn), Cuivre (Cu), Manganèse (Mn) et ne doit être employé que de la manière recommandée. Il peut être nocif s'il est employé mal à propos." + ], + "instructions_en": [ + "See your fertilization program." + ], + "instructions_fr": [ + "Voir votre programme de fertilisation." ] - }, - "ingredients_en": null, - "ingredients_fr": null, - "cautions_en": [ - "This fertilizer contains Boron and Molybdenum and should be used only as recommended. It may prove harmful when misused. Information about the components of this fertilizer may be obtained by writing to the manufacturer stated below." - ], - "cautions_fr": [ - "Cet engrais contient du Bore et Molybdène et doit être utilisé uniquement selon les recommandations. Il peut s'avérer nocif lorsque mal utilisé. Des informations sur les composants de cet engrais peuvent être obtenues en écrivant au fabricant indiqué ci-dessous." - ], - "instructions_en": [ - "This product should be used on the basis of a soil and/or tissue analysis in accordance with recommendations of a qualified individual or institution, such as a certified crop advisor, agronomist, university crop extension publication or apply according to recommendations in your approved nutrient management plan.", - "Do not mix with other fertilizers/chemicals without a compatibility test. An adequate test for compatibility involves mixing in a small container the proper proportions of the product with water and the other ingredients. Agitate and let stand for one hour. Should a precipitate form, apply the products separately." - ], - "instructions_fr": [ - "Ce produit doit être utilisé sur la base d'une analyse du sol et/ou des tissus et conformément aux recommandations d'une personne ou d'une institution qualifiée, comme un conseiller en culture certifié, un agronome ou une publication universitaire de vulgarisation agricole, ou appliqué selon les recommandations de votre plan de gestion des éléments nutritifs approuvé.", - "Ne pas mélanger avec d'autres engrais/produits chimiques sans test de compatibilité. Un test adéquat pour la compatibilité consiste à mélanger dans un petit récipient les bonnes proportions du produit avec de l'eau et les autres ingrédients. Agiter et laisser reposer une heure. En cas de formation d'un précipité, appliquer les produits séparément." - ] -} + } diff --git a/test_data/labels/label_029/img_001.jpg b/test_data/labels/label_027/img_001.jpg similarity index 100% rename from test_data/labels/label_029/img_001.jpg rename to test_data/labels/label_027/img_001.jpg diff --git a/test_data/labels/label_027/img_001.png b/test_data/labels/label_027/img_001.png deleted file mode 100644 index afc047d..0000000 Binary files a/test_data/labels/label_027/img_001.png and /dev/null differ diff --git a/test_data/labels/label_028/expected_output.json b/test_data/labels/label_028/expected_output.json index 41525fb..12b9c1b 100644 --- a/test_data/labels/label_028/expected_output.json +++ b/test_data/labels/label_028/expected_output.json @@ -1,22 +1,22 @@ { - "company_name": null, - "company_address": null, + "company_name": "Cameron Chemicals, Inc", + "company_address": "830 Old Dil Road Suffolk VA 23434 USA", "company_website": null, - "company_phone_number": null, - "manufacturer_name": "ETI MADEN MINES AND PRODUCTS", - "manufacturer_address": "03010 Etlik/Kecioren Ankara-Turkey Bahçekapi Mah. Fatih Sultan Mehmet Bulvan No:179 Postcode:05377 Esmesgut / ANKARA, TURKEY", + "company_phone_number": "(757) 437-0656", + "manufacturer_name": null, + "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "Granular Ulexite", - "registration_number": "2020056B", - "lot_number": "6151", + "fertiliser_name": "GRANULAR ZINC 20%", + "registration_number": "2015045B", + "lot_number": "31923352", "weight": [ { - "value": 1200, + "value": 907, "unit": "kg" }, { - "value": 2645, + "value": 2000, "unit": "lb" } ], @@ -28,34 +28,71 @@ "value": null, "unit": null }, - "npk": null, + "npk": "none", "guaranteed_analysis_en": { - "title": "Guaranteed Analysis", + "title": "GUARANTEED ANALYSIS", "nutrients": [ { - "nutrient": "Boron (B)", - "value": 10.1, + "nutrient": "Sulphur", + "value": 3, + "unit": "%" + }, + { + "nutrient": "Zinc", + "value": 20, "unit": "%" } ] }, "guaranteed_analysis_fr": { - "title": null, - "nutrients": null + "title": "ANALYSE GARANTIE", + "nutrients": [ + { + "nutrient": "Soufre", + "value": 3, + "unit": "%" + }, + { + "nutrient": "Zinc", + "value": 20, + "unit": "%" + } + ] }, - "ingredients_en": null, - "ingredients_fr": null, + "ingredients_en": [ + { + "ingredient": "Zinc Sulphate", + "value": null, + "unit": null + }, + { + "ingredient": "Zinc Oxide", + "value": null, + "unit": null + } + ], + "ingredients_fr": [ + { + "ingredient": "sulfate de Zinc", + "value": null, + "unit": null + }, + { + "ingredient": "Oxide de zinc", + "value": null, + "unit": null + } + ], "cautions_en": [ - "This fertilizer contains boron and should be used only as recommended. It may prove harmful when misused." + "This fertilizer contains zinc and sulfur and should be used only as recommended" + ], + "cautions_fr": [ + "Cet engrais renferme du zinc et souffre et ne doit être employé que de la manière recommandée." ], - "cautions_fr": null, "instructions_en": [ - "This product can be used as a fertilizer, micronutrient, and component used for formulating fertilizers as a source for plant micronutrients.", - "Granular Ulexite is compatible with most pesticides and fertilizers. However, if the desired combination has not been previously used, a compatibility test is recommended.", - "It is recommended for use on field, vegetable, fruit, and nut crops.", - "It is applied to soil.", - "Because the function of boron and nitrogen are related in plant nutrition, applications with nitrogen-containing fertilizers often enhances results.", - "Thorough and uniform application coverage are necessary for best results and to prevent crop injury." + "To be used in blending fertilizer for soil application, Application should be based on result of soil or leaf analysis." ], - "instructions_fr": null + "instructions_fr": [ + "Pour un emploi en mélange d'engrais pour application au sol. Les traitements devraient être faits selon les résultats obtenus à la suite d'une analyse de sol ou des feuilles." + ] } diff --git a/test_data/labels/label_028/img_001.png b/test_data/labels/label_028/img_001.png index d527c89..8b04b13 100644 Binary files a/test_data/labels/label_028/img_001.png and b/test_data/labels/label_028/img_001.png differ diff --git a/test_data/labels/label_029/expected_output.json b/test_data/labels/label_029/expected_output.json index 1735cfc..10a55e1 100644 --- a/test_data/labels/label_029/expected_output.json +++ b/test_data/labels/label_029/expected_output.json @@ -1,18 +1,18 @@ { - "company_name": "Synagri s.e.c./l.p", - "company_address": "4075, rue Industrielle, Contrecoeur, Qc, JOL 1CO", + "company_name": "Synagri s.e.c./l.p.", + "company_address": "Contrecoeur-Synagri 4075, rue Industrielle, Contrecoeur, QC JOL 1C0", "company_website": null, "company_phone_number": null, "manufacturer_name": null, "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "15-5-15 40% LENT 1.5 MG 3s .3ZN .3MN", + "fertiliser_name": "BIO 4-3-2 COMPOSYN 7% CA 0.6%MG", "registration_number": null, "lot_number": null, "weight": [ { - "value": 25, + "value": 11.34, "unit": "kg" }, { @@ -21,136 +21,84 @@ } ], "density": { - "value": 1036, - "unit": "kg/m3 ou 64.74 lbs/pi3" + "value": 752, + "unit": "kg/m3" }, "volume": { "value": null, "unit": null }, - "npk": "2015-05-15", + "npk": null, "guaranteed_analysis_en": { - "title": "Guaranteed Analysis", + "title": "MINIMUM GUARANTEED ANALYSIS", "nutrients": [ { "nutrient": "Total Nitrogen", - "value": 15.0, + "value": 4, "unit": "%" }, { - "nutrient": "Available Phosphoric acid", - "value": 5.0, + "nutrient": "Available Phosphoric Acid", + "value": 3, "unit": "%" }, { "nutrient": "Soluble Potassium", - "value": 15.0, + "value": 2, "unit": "%" }, { - "nutrient": "Magnesium", - "value": 1.6, - "unit": "%" - }, - { - "nutrient": "Sulfur (S)", - "value": 2.72, - "unit": "%" - }, - { - "nutrient": "Boron (B)", - "value": 0.030, - "unit": "%" - }, - { - "nutrient": "Zinc (Zn)", - "value": 0.600, - "unit": "%" - }, - { - "nutrient": "Copper (Cu)", - "value": 0.030, - "unit": "%" - }, - { - "nutrient": "Manganese (Mn)", - "value": 0.150, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 1.21, + "nutrient": "Magnestum 0.6", + "value": 0.6, "unit": "%" } ] }, "guaranteed_analysis_fr": { - "title": "Guaranteed Analysis", + "title": "ANALYSE MINIMALE GARANTIE", "nutrients": [ { - "nutrient": "Azote total", - "value": 15.0, + "nutrient": "Azote Total", + "value": 4, "unit": "%" }, { "nutrient": "Acide Phosphorique assimilable", - "value": 5.0, + "value": 3, "unit": "%" }, { "nutrient": "Potasse soluble", - "value": 15.0, - "unit": "%" - }, - { - "nutrient": "Magnésium", - "value": 1.6, + "value": 2, "unit": "%" }, { - "nutrient": "Soufre (S)", - "value": 2.72, - "unit": "%" - }, - { - "nutrient": "Bore (B)", - "value": 0.030, - "unit": "%" - }, - { - "nutrient": "Zinc (Zn)", - "value": 0.600, - "unit": "%" - }, - { - "nutrient": "Cuivre (Cu)", - "value": 0.030, - "unit": "%" - }, - { - "nutrient": "Manganèse (Mn)", - "value": 0.150, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 1.21, + "nutrient": "Magnésium 0.6", + "value": 0.6, "unit": "%" } ] }, - "ingredients_en": null, - "ingredients_fr": null, - "cautions_en": [ - "This fertilizer contains Boron (B), Zinc (Zn), Copper (Cu), Manganese (Mn) and should be used only as recommended. May be harmful if misused." + "ingredients_en": [ + { + "ingredient": "The list of ingredients can be obtained from the manufacturer", + "value": null, + "unit": null + } ], - "cautions_fr": [ - "Cet engrais renferme du Bore (B), Zinc (Zn), Cuivre (Cu), Manganèse (Mn) et ne doit être employé que de la manière recommandée. Il peut être nocif s'il est employé mal à propos." + "ingredients_fr": [ + { + "ingredient": "La liste des ingredients du produit peut être obtenue auprès du fabriacant.", + "value": null, + "unit": null + } ], + "cautions_en": null, + "cautions_fr": null, "instructions_en": [ - "See your fertilization program." + "Directions for use : See your fertilization program." ], "instructions_fr": [ - "Voir votre programme de fertilisation." + "Mode d'emploi : Voir programme de fertilisation." ] } diff --git a/test_data/labels/label_031/img_001.png b/test_data/labels/label_029/img_001.png similarity index 100% rename from test_data/labels/label_031/img_001.png rename to test_data/labels/label_029/img_001.png diff --git a/test_data/labels/label_030/expected_output.json b/test_data/labels/label_030/expected_output.json index 12b9c1b..9d180ed 100644 --- a/test_data/labels/label_030/expected_output.json +++ b/test_data/labels/label_030/expected_output.json @@ -1,15 +1,15 @@ { - "company_name": "Cameron Chemicals, Inc", - "company_address": "830 Old Dil Road Suffolk VA 23434 USA", + "company_name": "AMP Advanced Micronutrient Product, Inc", + "company_address": "2405 W Vassar RD Reese ml-48757 USA", "company_website": null, - "company_phone_number": "(757) 437-0656", + "company_phone_number": null, "manufacturer_name": null, "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "GRANULAR ZINC 20%", - "registration_number": "2015045B", - "lot_number": "31923352", + "fertiliser_name": "Micronutrient Corn Mix Mélange d'oligoéléments pour maïs", + "registration_number": "2013098B", + "lot_number": "34913501", "weight": [ { "value": 907, @@ -28,71 +28,79 @@ "value": null, "unit": null }, - "npk": "none", + "npk": null, "guaranteed_analysis_en": { - "title": "GUARANTEED ANALYSIS", + "title": "Guaranteed Minimum Analysis", "nutrients": [ { - "nutrient": "Sulphur", - "value": 3, + "nutrient": "Sulphur (S)", + "value": 9, "unit": "%" }, { - "nutrient": "Zinc", + "nutrient": "Boron (B) (Actual)", + "value": 1, + "unit": "%" + }, + { + "nutrient": "Copper (Cu) (Actual)", + "value": 1, + "unit": "%" + }, + { + "nutrient": "Manganese (Mn) (Actual)", + "value": 4, + "unit": "%" + }, + { + "nutrient": "Zinc (Zn) (Actual)", "value": 20, "unit": "%" } ] }, "guaranteed_analysis_fr": { - "title": "ANALYSE GARANTIE", + "title": "Analyse Minimale Garantie", "nutrients": [ { - "nutrient": "Soufre", - "value": 3, + "nutrient": "Soufre (S)", + "value": 9, + "unit": "%" + }, + { + "nutrient": "Bore (B) (Actual)", + "value": 1, + "unit": "%" + }, + { + "nutrient": "Cuivre (Cu) (Actual)", + "value": 1, + "unit": "%" + }, + { + "nutrient": "Manganese (Mn) (Actual)", + "value": 4, "unit": "%" }, { - "nutrient": "Zinc", + "nutrient": "Zinc (Zn) (Actual)", "value": 20, "unit": "%" } ] }, - "ingredients_en": [ - { - "ingredient": "Zinc Sulphate", - "value": null, - "unit": null - }, - { - "ingredient": "Zinc Oxide", - "value": null, - "unit": null - } - ], - "ingredients_fr": [ - { - "ingredient": "sulfate de Zinc", - "value": null, - "unit": null - }, - { - "ingredient": "Oxide de zinc", - "value": null, - "unit": null - } - ], + "ingredients_en": null, + "ingredients_fr": null, "cautions_en": [ - "This fertilizer contains zinc and sulfur and should be used only as recommended" + "Caution: This fertilizer contains boron, copper, manganese, sulphur and zinc and should be used only as recommended. It may prove harmful when misused." ], "cautions_fr": [ - "Cet engrais renferme du zinc et souffre et ne doit être employé que de la manière recommandée." + "Avertissement: Cet engrais renferme bore, cuivre, manganèse, soufre, zinc, et ne doit être employé que de la manière recommandée. Il peut être nocif s'il est employé mal à propos." ], "instructions_en": [ - "To be used in blending fertilizer for soil application, Application should be based on result of soil or leaf analysis." + "To be used in blending fertilizer for soil application. Applications should be based on results of soil or leaf analysis." ], "instructions_fr": [ - "Pour un emploi en mélange d'engrais pour application au sol. Les traitements devraient être faits selon les résultats obtenus à la suite d'une analyse de sol ou des feuilles." + "Pour un emploi en mélange d'engrais pour application au sol. Les traitements devraient être faits selon les résultats obtenus à la suite d'une analyse du sol ou des feuilles." ] } diff --git a/test_data/labels/label_030/img_001.png b/test_data/labels/label_030/img_001.png index 8b04b13..7083669 100644 Binary files a/test_data/labels/label_030/img_001.png and b/test_data/labels/label_030/img_001.png differ diff --git a/test_data/labels/label_031/expected_output.json b/test_data/labels/label_031/expected_output.json index 10a55e1..c03a87d 100644 --- a/test_data/labels/label_031/expected_output.json +++ b/test_data/labels/label_031/expected_output.json @@ -1,19 +1,19 @@ { - "company_name": "Synagri s.e.c./l.p.", - "company_address": "Contrecoeur-Synagri 4075, rue Industrielle, Contrecoeur, QC JOL 1C0", - "company_website": null, + "company_name": "LFP", + "company_address": "2522, Lapierre, Lasalle QC CANADA HBN 2WS", + "company_website": "http://www.lfp-solutions.ca", "company_phone_number": null, "manufacturer_name": null, "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "BIO 4-3-2 COMPOSYN 7% CA 0.6%MG", + "fertiliser_name": "WAVE", "registration_number": null, "lot_number": null, "weight": [ { - "value": 11.34, - "unit": "kg" + "value": 327, + "unit": "g" }, { "value": null, @@ -21,84 +21,38 @@ } ], "density": { - "value": 752, - "unit": "kg/m3" - }, - "volume": { "value": null, "unit": null }, + "volume": { + "value": 250, + "unit": "ml" + }, "npk": null, "guaranteed_analysis_en": { - "title": "MINIMUM GUARANTEED ANALYSIS", - "nutrients": [ - { - "nutrient": "Total Nitrogen", - "value": 4, - "unit": "%" - }, - { - "nutrient": "Available Phosphoric Acid", - "value": 3, - "unit": "%" - }, - { - "nutrient": "Soluble Potassium", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Magnestum 0.6", - "value": 0.6, - "unit": "%" - } - ] + "title": null, + "nutrients": [] }, "guaranteed_analysis_fr": { - "title": "ANALYSE MINIMALE GARANTIE", - "nutrients": [ - { - "nutrient": "Azote Total", - "value": 4, - "unit": "%" - }, - { - "nutrient": "Acide Phosphorique assimilable", - "value": 3, - "unit": "%" - }, - { - "nutrient": "Potasse soluble", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Magnésium 0.6", - "value": 0.6, - "unit": "%" - } - ] + "title": null, + "nutrients": [] }, - "ingredients_en": [ - { - "ingredient": "The list of ingredients can be obtained from the manufacturer", - "value": null, - "unit": null - } - ], - "ingredients_fr": [ - { - "ingredient": "La liste des ingredients du produit peut être obtenue auprès du fabriacant.", - "value": null, - "unit": null - } - ], + "ingredients_en": null, + "ingredients_fr": null, "cautions_en": null, "cautions_fr": null, "instructions_en": [ - "Directions for use : See your fertilization program." + "Dilute 10 ml (2 tsp.) of Big Blue's Wave sea minerals in 1L of water.", + "INTERIOR PLANTS: Feed soil weekly. Foliar spray as needed.", + "EXTERIOR PLANTS AND VEGETABLE GARDENS: Feed soil every week (minimum). Foliar spray as needed.", + "TREES AND SHRUBS: Feed at drip line or foliar feed. Use either way 2-3 times per season. For transplanting, use double mixture (20 ml in 1 L).", + "LAWNS: Dilute 25 ml in enough water to cover 1000 sq ft (92.9 m2)." ], "instructions_fr": [ - "Mode d'emploi : Voir programme de fertilisation." + "Diluer 10 ml (2 c. à thé) de minéraux marins Wave de Big Blue par litre d'eau.", + "PLANTES D'INTERIEUR : Appliquer chaque semaine. Faites un arrosage foliaire au besoin.", + "PLANTES D'EXTÉRIEUR ET POTAGERS : Appliquer chaque semaine au sol (minimum). Faites un arrosage foliaire au besoin.", + "ARBRES ET ARBUSTES : Appliquer jusqu'à l'aplomb de la ramure ou faites un arrosage foliaire. Appliquer d'une façon ou l'autre 2 ou 3 fois par saison. Lors d'une transplantation, utiliser une solution double (20 ml dans 1 L).", + "PELOUSES : Diluer 25 ml dans assez d'eau pour couvrir 1 000 pi ca (92.9 m2)." ] } diff --git a/test_data/labels/label_031/img_002.png b/test_data/labels/label_031/img_002.png new file mode 100644 index 0000000..e1572bf Binary files /dev/null and b/test_data/labels/label_031/img_002.png differ diff --git a/test_data/labels/label_039/expected_output.json b/test_data/labels/label_032/expected_output.json similarity index 100% rename from test_data/labels/label_039/expected_output.json rename to test_data/labels/label_032/expected_output.json diff --git a/test_data/labels/label_039/img_001.png b/test_data/labels/label_032/img_001.png similarity index 100% rename from test_data/labels/label_039/img_001.png rename to test_data/labels/label_032/img_001.png diff --git a/test_data/labels/label_039/img_002.png b/test_data/labels/label_032/img_002.png similarity index 100% rename from test_data/labels/label_039/img_002.png rename to test_data/labels/label_032/img_002.png diff --git a/test_data/labels/label_039/img_003.png b/test_data/labels/label_032/img_003.png similarity index 100% rename from test_data/labels/label_039/img_003.png rename to test_data/labels/label_032/img_003.png diff --git a/test_data/labels/label_033/expected_output.json b/test_data/labels/label_033/expected_output.json index 9d180ed..fcbb5e6 100644 --- a/test_data/labels/label_033/expected_output.json +++ b/test_data/labels/label_033/expected_output.json @@ -1,22 +1,22 @@ { - "company_name": "AMP Advanced Micronutrient Product, Inc", - "company_address": "2405 W Vassar RD Reese ml-48757 USA", + "company_name": "La Coop fédérée", + "company_address": "4225, rue Saint-Joseph, Trois-Rivières (Québec) G9A 5L9", "company_website": null, "company_phone_number": null, "manufacturer_name": null, "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "Micronutrient Corn Mix Mélange d'oligoéléments pour maïs", - "registration_number": "2013098B", - "lot_number": "34913501", + "fertiliser_name": "Unijardin", + "registration_number": null, + "lot_number": null, "weight": [ { - "value": 907, + "value": 2, "unit": "kg" }, { - "value": 2000, + "value": null, "unit": "lb" } ], @@ -28,79 +28,87 @@ "value": null, "unit": null }, - "npk": null, + "npk": "2-14-0", "guaranteed_analysis_en": { - "title": "Guaranteed Minimum Analysis", + "title": "GUARANTEED MINIMUM ANALYSIS", "nutrients": [ { - "nutrient": "Sulphur (S)", - "value": 9, + "nutrient": "Total nitrogen (N)", + "value": 2, "unit": "%" }, { - "nutrient": "Boron (B) (Actual)", - "value": 1, + "nutrient": "Water insoluble nitrogen", + "value": 2, "unit": "%" }, { - "nutrient": "Copper (Cu) (Actual)", - "value": 1, + "nutrient": "Available phosphoric acid (P2O5)", + "value": 14, "unit": "%" }, { - "nutrient": "Manganese (Mn) (Actual)", - "value": 4, + "nutrient": "Calcium (Ca)", + "value": 25, "unit": "%" }, { - "nutrient": "Zinc (Zn) (Actual)", - "value": 20, + "nutrient": "Organic matter", + "value": 25, "unit": "%" } ] }, "guaranteed_analysis_fr": { - "title": "Analyse Minimale Garantie", + "title": "ANALYSE MINIMALE GARANTIE", "nutrients": [ { - "nutrient": "Soufre (S)", - "value": 9, + "nutrient": "Azote total (N)", + "value": 2, "unit": "%" }, { - "nutrient": "Bore (B) (Actual)", - "value": 1, + "nutrient": "Azote insoluble dans l'eau", + "value": 2, "unit": "%" }, { - "nutrient": "Cuivre (Cu) (Actual)", - "value": 1, + "nutrient": "Acide phosphorique assimilable (P2O5)", + "value": 14, "unit": "%" }, { - "nutrient": "Manganese (Mn) (Actual)", - "value": 4, + "nutrient": "Calcium (Ca)", + "value": 25, "unit": "%" }, { - "nutrient": "Zinc (Zn) (Actual)", - "value": 20, + "nutrient": "Matière organique", + "value": 25, "unit": "%" } ] }, - "ingredients_en": null, - "ingredients_fr": null, - "cautions_en": [ - "Caution: This fertilizer contains boron, copper, manganese, sulphur and zinc and should be used only as recommended. It may prove harmful when misused." + "ingredients_en": [ + { + "ingredient": "BONE MEAL", + "value": null, + "unit": null + } ], - "cautions_fr": [ - "Avertissement: Cet engrais renferme bore, cuivre, manganèse, soufre, zinc, et ne doit être employé que de la manière recommandée. Il peut être nocif s'il est employé mal à propos." + "ingredients_fr": [ + { + "ingredient": "POUDRE D'OS", + "value": null, + "unit": null + } ], + "cautions_en": null, + "cautions_fr": null, "instructions_en": [ - "To be used in blending fertilizer for soil application. Applications should be based on results of soil or leaf analysis." + "Spread fertilizer evenly at the base of plants and lightly hoe around to make it penetrate. It is best to apply fertilizer before a rainfall, or to water after each application. This fertilizer must be used as part of a complete fertilization program. We recommend following up maintenance with Unijardin fertilizers designed to meet the plant's specific needs." ], "instructions_fr": [ - "Pour un emploi en mélange d'engrais pour application au sol. Les traitements devraient être faits selon les résultats obtenus à la suite d'une analyse du sol ou des feuilles." + "Épandre l'engrais uniformément au pied des plantes et biner légèrement autour pour faire pénétrer. Il est préférable d'appliquer l'engrais avant une pluie ou de procéder à un arrosage après chaque application. Cet engrais doit être utilisé comme élément d'un programme de fertilisation complet. Il est recommandé de poursuivre la fertilisation d'entretien des plants avec des engrais Unijardin conçus pour répondre à leurs besoins spécifiques." ] } diff --git a/test_data/labels/label_033/img_001.png b/test_data/labels/label_033/img_001.png index 7083669..a6178c7 100644 Binary files a/test_data/labels/label_033/img_001.png and b/test_data/labels/label_033/img_001.png differ diff --git a/test_data/labels/label_040/img_002.png b/test_data/labels/label_033/img_002.png similarity index 100% rename from test_data/labels/label_040/img_002.png rename to test_data/labels/label_033/img_002.png diff --git a/test_data/labels/label_044/expected_output.json b/test_data/labels/label_034/expected_output.json similarity index 100% rename from test_data/labels/label_044/expected_output.json rename to test_data/labels/label_034/expected_output.json diff --git a/test_data/labels/label_044/img_001.png b/test_data/labels/label_034/img_001.png similarity index 100% rename from test_data/labels/label_044/img_001.png rename to test_data/labels/label_034/img_001.png diff --git a/test_data/labels/label_044/img_002.png b/test_data/labels/label_034/img_002.png similarity index 100% rename from test_data/labels/label_044/img_002.png rename to test_data/labels/label_034/img_002.png diff --git a/test_data/labels/label_035/expected_output.json b/test_data/labels/label_035/expected_output.json index c03a87d..6a1143e 100644 --- a/test_data/labels/label_035/expected_output.json +++ b/test_data/labels/label_035/expected_output.json @@ -1,22 +1,22 @@ { - "company_name": "LFP", - "company_address": "2522, Lapierre, Lasalle QC CANADA HBN 2WS", - "company_website": "http://www.lfp-solutions.ca", + "company_name": "Gloco", + "company_address": "26, route Maritime, Forestville, Quebec G0T 1E0", + "company_website": "http://bionik.ca", "company_phone_number": null, "manufacturer_name": null, "manufacturer_address": null, "manufacturer_website": null, "manufacturer_phone_number": null, - "fertiliser_name": "WAVE", + "fertiliser_name": "Bionik", "registration_number": null, "lot_number": null, "weight": [ { - "value": 327, - "unit": "g" + "value": 14, + "unit": "kg" }, { - "value": null, + "value": 30.8, "unit": "lb" } ], @@ -25,34 +25,156 @@ "unit": null }, "volume": { - "value": 250, - "unit": "ml" + "value": 22, + "unit": "L" }, - "npk": null, + "npk": "0.6-1.8-0.13", "guaranteed_analysis_en": { - "title": null, - "nutrients": [] + "title": "GUARANTEED MINIMUM ANALYSIS", + "nutrients": [ + { + "nutrient": "Total nitrogen (N)", + "value": 0.6, + "unit": "%" + }, + { + "nutrient": "Available phosphoric acid (P2O5)", + "value": 1.8, + "unit": "%" + }, + { + "nutrient": "Soluble potash (K2O)", + "value": 0.1, + "unit": "%" + }, + { + "nutrient": "Calcium (Ca)", + "value": 14, + "unit": "%" + }, + { + "nutrient": "Magnesium (Mg)", + "value": 0.2, + "unit": "%" + }, + { + "nutrient": "Organic matter", + "value": 28, + "unit": "%" + }, + { + "nutrient": "Moisture (Max)", + "value": 55, + "unit": "%" + } + ] }, "guaranteed_analysis_fr": { - "title": null, - "nutrients": [] + "title": "ANALYSE MINIMUM GARANTIE", + "nutrients": [ + { + "nutrient": "Azote total (N)", + "value": 0.6, + "unit": "%" + }, + { + "nutrient": "Acide phosphorique (P2O5)", + "value": 1.8, + "unit": "%" + }, + { + "nutrient": "Potasse soluble (k2O)", + "value": 0.1, + "unit": "%" + }, + { + "nutrient": "Calcium (Ca)", + "value": 14, + "unit": "%" + }, + { + "nutrient": "Magnesium (Mg)", + "value": 0.2, + "unit": "%" + }, + { + "nutrient": "Matière organique", + "value": 28, + "unit": "%" + }, + { + "nutrient": "Moisture (Max)", + "value": 55, + "unit": "%" + } + ] }, - "ingredients_en": null, - "ingredients_fr": null, + "ingredients_en": [ + { + "ingredient": "Barks", + "value": null, + "unit": null + }, + { + "ingredient": "Snow crab", + "value": null, + "unit": null + }, + { + "ingredient": "Whelks", + "value": null, + "unit": null + }, + { + "ingredient": "Red wigglers", + "value": null, + "unit": null + }, + { + "ingredient": "Fish", + "value": null, + "unit": null + } + ], + "ingredients_fr": [ + { + "ingredient": "Écorces", + "value": null, + "unit": null + }, + { + "ingredient": "Crabes des neiges", + "value": null, + "unit": null + }, + { + "ingredient": "Bourgots", + "value": null, + "unit": null + }, + { + "ingredient": "Vers rouges", + "value": null, + "unit": null + }, + { + "ingredient": "Poissons", + "value": null, + "unit": null + } + ], "cautions_en": null, "cautions_fr": null, "instructions_en": [ - "Dilute 10 ml (2 tsp.) of Big Blue's Wave sea minerals in 1L of water.", - "INTERIOR PLANTS: Feed soil weekly. Foliar spray as needed.", - "EXTERIOR PLANTS AND VEGETABLE GARDENS: Feed soil every week (minimum). Foliar spray as needed.", - "TREES AND SHRUBS: Feed at drip line or foliar feed. Use either way 2-3 times per season. For transplanting, use double mixture (20 ml in 1 L).", - "LAWNS: Dilute 25 ml in enough water to cover 1000 sq ft (92.9 m2)." + "Vegetable gardens and flower beds: Spread a 0.6 mm (1/4 in) layer of compost on the soil surface and quickly work into the soil.", + "Demanding plants: Add one to three handfuls into the planting hole and work into the soil.", + "Trees, shrubs, evergreens and hedges: Spread a 0.6 mm (1/4 in) layer of compost on the soil surface covered by the plants. Water as needed.", + "For optimal results: Apply the complete Bionik Fertilization Program." ], "instructions_fr": [ - "Diluer 10 ml (2 c. à thé) de minéraux marins Wave de Big Blue par litre d'eau.", - "PLANTES D'INTERIEUR : Appliquer chaque semaine. Faites un arrosage foliaire au besoin.", - "PLANTES D'EXTÉRIEUR ET POTAGERS : Appliquer chaque semaine au sol (minimum). Faites un arrosage foliaire au besoin.", - "ARBRES ET ARBUSTES : Appliquer jusqu'à l'aplomb de la ramure ou faites un arrosage foliaire. Appliquer d'une façon ou l'autre 2 ou 3 fois par saison. Lors d'une transplantation, utiliser une solution double (20 ml dans 1 L).", - "PELOUSES : Diluer 25 ml dans assez d'eau pour couvrir 1 000 pi ca (92.9 m2)." + "Potager et plates-bandes: Épandre 0,6 mm (1/4 po) de compost à la surface du sol et mélanger au sol rapidement.", + "Plantes exigeantes: Ajouter une à trois poignées dans le trou de plantation et mélanger au sol.", + "Arbres, arbustes, conifères et haies: Épandre 0,6 mm (1/4 po) de compost à la surface du sol recouvert par les plants. Arroser au besoin.", + "Pour un résultat optimal: Utiliser le programme complet de fertilisation Bionik." ] } diff --git a/test_data/labels/label_050/img_001.png b/test_data/labels/label_035/img_001.png similarity index 100% rename from test_data/labels/label_050/img_001.png rename to test_data/labels/label_035/img_001.png diff --git a/test_data/labels/label_035/img_002.png b/test_data/labels/label_035/img_002.png index e1572bf..bcd9935 100644 Binary files a/test_data/labels/label_035/img_002.png and b/test_data/labels/label_035/img_002.png differ diff --git a/test_data/labels/label_040/expected_output.json b/test_data/labels/label_040/expected_output.json deleted file mode 100644 index fcbb5e6..0000000 --- a/test_data/labels/label_040/expected_output.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "company_name": "La Coop fédérée", - "company_address": "4225, rue Saint-Joseph, Trois-Rivières (Québec) G9A 5L9", - "company_website": null, - "company_phone_number": null, - "manufacturer_name": null, - "manufacturer_address": null, - "manufacturer_website": null, - "manufacturer_phone_number": null, - "fertiliser_name": "Unijardin", - "registration_number": null, - "lot_number": null, - "weight": [ - { - "value": 2, - "unit": "kg" - }, - { - "value": null, - "unit": "lb" - } - ], - "density": { - "value": null, - "unit": null - }, - "volume": { - "value": null, - "unit": null - }, - "npk": "2-14-0", - "guaranteed_analysis_en": { - "title": "GUARANTEED MINIMUM ANALYSIS", - "nutrients": [ - { - "nutrient": "Total nitrogen (N)", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Water insoluble nitrogen", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Available phosphoric acid (P2O5)", - "value": 14, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 25, - "unit": "%" - }, - { - "nutrient": "Organic matter", - "value": 25, - "unit": "%" - } - ] - }, - "guaranteed_analysis_fr": { - "title": "ANALYSE MINIMALE GARANTIE", - "nutrients": [ - { - "nutrient": "Azote total (N)", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Azote insoluble dans l'eau", - "value": 2, - "unit": "%" - }, - { - "nutrient": "Acide phosphorique assimilable (P2O5)", - "value": 14, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 25, - "unit": "%" - }, - { - "nutrient": "Matière organique", - "value": 25, - "unit": "%" - } - ] - }, - "ingredients_en": [ - { - "ingredient": "BONE MEAL", - "value": null, - "unit": null - } - ], - "ingredients_fr": [ - { - "ingredient": "POUDRE D'OS", - "value": null, - "unit": null - } - ], - "cautions_en": null, - "cautions_fr": null, - "instructions_en": [ - "Spread fertilizer evenly at the base of plants and lightly hoe around to make it penetrate. It is best to apply fertilizer before a rainfall, or to water after each application. This fertilizer must be used as part of a complete fertilization program. We recommend following up maintenance with Unijardin fertilizers designed to meet the plant's specific needs." - ], - "instructions_fr": [ - "Épandre l'engrais uniformément au pied des plantes et biner légèrement autour pour faire pénétrer. Il est préférable d'appliquer l'engrais avant une pluie ou de procéder à un arrosage après chaque application. Cet engrais doit être utilisé comme élément d'un programme de fertilisation complet. Il est recommandé de poursuivre la fertilisation d'entretien des plants avec des engrais Unijardin conçus pour répondre à leurs besoins spécifiques." - ] - } diff --git a/test_data/labels/label_040/img_001.png b/test_data/labels/label_040/img_001.png deleted file mode 100644 index a6178c7..0000000 Binary files a/test_data/labels/label_040/img_001.png and /dev/null differ diff --git a/test_data/labels/label_050/expected_output.json b/test_data/labels/label_050/expected_output.json deleted file mode 100644 index 6a1143e..0000000 --- a/test_data/labels/label_050/expected_output.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "company_name": "Gloco", - "company_address": "26, route Maritime, Forestville, Quebec G0T 1E0", - "company_website": "http://bionik.ca", - "company_phone_number": null, - "manufacturer_name": null, - "manufacturer_address": null, - "manufacturer_website": null, - "manufacturer_phone_number": null, - "fertiliser_name": "Bionik", - "registration_number": null, - "lot_number": null, - "weight": [ - { - "value": 14, - "unit": "kg" - }, - { - "value": 30.8, - "unit": "lb" - } - ], - "density": { - "value": null, - "unit": null - }, - "volume": { - "value": 22, - "unit": "L" - }, - "npk": "0.6-1.8-0.13", - "guaranteed_analysis_en": { - "title": "GUARANTEED MINIMUM ANALYSIS", - "nutrients": [ - { - "nutrient": "Total nitrogen (N)", - "value": 0.6, - "unit": "%" - }, - { - "nutrient": "Available phosphoric acid (P2O5)", - "value": 1.8, - "unit": "%" - }, - { - "nutrient": "Soluble potash (K2O)", - "value": 0.1, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 14, - "unit": "%" - }, - { - "nutrient": "Magnesium (Mg)", - "value": 0.2, - "unit": "%" - }, - { - "nutrient": "Organic matter", - "value": 28, - "unit": "%" - }, - { - "nutrient": "Moisture (Max)", - "value": 55, - "unit": "%" - } - ] - }, - "guaranteed_analysis_fr": { - "title": "ANALYSE MINIMUM GARANTIE", - "nutrients": [ - { - "nutrient": "Azote total (N)", - "value": 0.6, - "unit": "%" - }, - { - "nutrient": "Acide phosphorique (P2O5)", - "value": 1.8, - "unit": "%" - }, - { - "nutrient": "Potasse soluble (k2O)", - "value": 0.1, - "unit": "%" - }, - { - "nutrient": "Calcium (Ca)", - "value": 14, - "unit": "%" - }, - { - "nutrient": "Magnesium (Mg)", - "value": 0.2, - "unit": "%" - }, - { - "nutrient": "Matière organique", - "value": 28, - "unit": "%" - }, - { - "nutrient": "Moisture (Max)", - "value": 55, - "unit": "%" - } - ] - }, - "ingredients_en": [ - { - "ingredient": "Barks", - "value": null, - "unit": null - }, - { - "ingredient": "Snow crab", - "value": null, - "unit": null - }, - { - "ingredient": "Whelks", - "value": null, - "unit": null - }, - { - "ingredient": "Red wigglers", - "value": null, - "unit": null - }, - { - "ingredient": "Fish", - "value": null, - "unit": null - } - ], - "ingredients_fr": [ - { - "ingredient": "Écorces", - "value": null, - "unit": null - }, - { - "ingredient": "Crabes des neiges", - "value": null, - "unit": null - }, - { - "ingredient": "Bourgots", - "value": null, - "unit": null - }, - { - "ingredient": "Vers rouges", - "value": null, - "unit": null - }, - { - "ingredient": "Poissons", - "value": null, - "unit": null - } - ], - "cautions_en": null, - "cautions_fr": null, - "instructions_en": [ - "Vegetable gardens and flower beds: Spread a 0.6 mm (1/4 in) layer of compost on the soil surface and quickly work into the soil.", - "Demanding plants: Add one to three handfuls into the planting hole and work into the soil.", - "Trees, shrubs, evergreens and hedges: Spread a 0.6 mm (1/4 in) layer of compost on the soil surface covered by the plants. Water as needed.", - "For optimal results: Apply the complete Bionik Fertilization Program." - ], - "instructions_fr": [ - "Potager et plates-bandes: Épandre 0,6 mm (1/4 po) de compost à la surface du sol et mélanger au sol rapidement.", - "Plantes exigeantes: Ajouter une à trois poignées dans le trou de plantation et mélanger au sol.", - "Arbres, arbustes, conifères et haies: Épandre 0,6 mm (1/4 po) de compost à la surface du sol recouvert par les plants. Arroser au besoin.", - "Pour un résultat optimal: Utiliser le programme complet de fertilisation Bionik." - ] - } diff --git a/test_data/labels/label_050/img_002.png b/test_data/labels/label_050/img_002.png deleted file mode 100644 index bcd9935..0000000 Binary files a/test_data/labels/label_050/img_002.png and /dev/null differ