Chicago LabVIEW User Group

cancel
Showing results for 
Search instead for 
Did you mean: 

Gummy Bear Vision Challenge

Goal: Use NI Vison to accurately color classify and identify gummy bears. Challenge with gummy bears is their inconsistent shape makes them difficult to use pattern matching.

I stated in my presentation that BMP file format is always preferred.   In this case, I am providing PNG format because the BMP files are over 20 Meg each.  I will post my code solution in about a week but what to see your solutions. BONUS: identify the orientation of gummy bears in degrees.

Create your initial solution using NI Vision Assistant. Use Vision Assistant to auto-generate your LabVIEW base code.

Download an evaluation copy of NI Vision from here: http://www.ni.com/gate/gb/GB_EVALTLKTSIGPROC/US

GBclassification.jpg

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 1 of 6
(8,525 Views)

I will post NI Vision Assistant script on Monday.  Looking forward to seeing your solutions over hte weekend.

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 2 of 6
(7,417 Views)

NI Vision Assistant script and color classifier files.

https://drive.google.com/file/d/0B2ahen3USkgZOHpNRzF1YWFkQ0U/view?usp=sharing


Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 3 of 6
(7,417 Views)

Challenge solution.

https://drive.google.com/file/d/0B2ahen3USkgZR3QybFNrZVZhVU0/view?usp=sharing

Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 4 of 6
(7,418 Views)

https://www.kokottautomation.com/assets/GummyBearSolution.zip

Mostly done with vision assistant, labview VI with some colored overlays is interesting.

------------------------------------
Jon Kokott
CLA, CLED, CTD, MCP C#
0 Kudos
Message 5 of 6
(7,418 Views)

solved.png

I didn't get around to prevent the double solves, however, its basically is taking the higher score between two "finds" within a certain distance of each other.  Possibly I can get this finished before 3:30

Overlay was wront color on the gren one, its not actually confusing that.

------------------------------------
Jon Kokott
CLA, CLED, CTD, MCP C#
0 Kudos
Message 6 of 6
(7,418 Views)