Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples of the Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Resource
Learn More about
Wolfram Language
Related Pages
Related Symbols
Entity
EntityValue
EntityClass
BarcodeRecognize
Related Categories
Food & Nutrition
Data Science
Life Sciences
Generate Nutrition Labels by Scanning PLU Codes
Get price look-up codes from images of barcodes
Example Notebook
Open in Cloud
Download Notebook
Create a simple table for visualizing basic information about a list of PLU codes which are used worldwide to classify and label produce:
I
n
[
1
]
:
=
E
n
t
i
t
y
V
a
l
u
e
4
1
8
6
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
,
4
5
2
1
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
,
3
2
8
3
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
,
4
5
8
2
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
,
4
0
9
3
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
,
{
"
C
a
t
e
g
o
r
y
"
,
"
C
o
m
m
o
d
i
t
y
"
,
"
V
a
r
i
e
t
y
"
,
"
S
i
z
e
"
}
,
"
D
a
t
a
s
e
t
"
O
u
t
[
1
]
=
Generate a nutrition label for one of the PLU codes:
I
n
[
2
]
:
=
E
n
t
i
t
y
"
F
o
o
d
"
,
"
P
L
U
C
o
d
e
s
"
4
1
8
6
P
R
O
D
U
C
T
L
O
O
K
U
P
C
O
D
E
[
{
"
F
o
o
d
T
y
p
e
"
,
"
N
u
t
r
i
t
i
o
n
L
a
b
e
l
"
}
]
/
/
C
o
l
u
m
n
O
u
t
[
2
]
=
b
a
n
a
n
a
Use
B
a
r
c
o
d
e
R
e
c
o
g
n
i
z
e
to read the barcode in an image of a fruit, extracting the tenth through thirteenth digits where the PLU code is found:
I
n
[
3
]
:
=
p
l
u
C
o
d
e
=
S
t
r
i
n
g
T
a
k
e
B
a
r
c
o
d
e
R
e
c
o
g
n
i
z
e
,
{
1
0
,
1
3
}
O
u
t
[
3
]
=
4
0
5
3
Look up detailed information about this PLU code, noting that it is for lemons:
I
n
[
4
]
:
=
D
a
t
a
s
e
t
E
n
t
i
t
y
[
"
P
L
U
C
o
d
e
"
,
p
l
u
C
o
d
e
]
P
L
U
p
r
o
p
e
r
t
i
e
s
,
"
P
r
o
p
e
r
t
y
A
s
s
o
c
i
a
t
i
o
n
"
O
u
t
[
4
]
=
Produce a nutrition label for the barcode in the image:
I
n
[
5
]
:
=
E
n
t
i
t
y
[
"
F
o
o
d
"
,
{
"
P
L
U
C
o
d
e
s
"
p
l
u
C
o
d
e
}
]
[
{
"
F
o
o
d
T
y
p
e
"
,
"
N
u
t
r
i
t
i
o
n
L
a
b
e
l
"
}
]
/
/
C
o
l
u
m
n
O
u
t
[
5
]
=
l
e
m
o
n
See Also
NutritionReport
VitaminData
FoodCompassPlot
Related Symbols
Entity
EntityValue
EntityClass
BarcodeRecognize
Publisher Information
Contributed by:
Wolfram Staff