A system, including a communications network, for facilitating identification of a cigar, the system comprising:
- a mobile computing device communicatively coupled with the communications network, the mobile computing device configured for:
- reading an image of a particular cigar;
- transmitting the image over the communications network;
- receiving a cigar brand and cigar line of the particular cigar over the communications network;
- and
- displaying the cigar brand and cigar line of the particular cigar for a user;
- a server communicatively coupled with the communications network, the server configured for:
- storing, in an attached database, a plurality of cigar records, wherein each cigar record defines the following data for a cigar:
- number of bands on the cigar, cigar band image for each band on the cigar, cigar band location for each band on the cigar, cigar wrapper color, cigar brand and cigar line;
- receiving, from the mobile computing device over the communications network, the image of the particular cigar;
- identifying a number of bands in the image of the particular cigar;
- identifying a cigar band location for each band in the image of the particular cigar;
- extracting a separate cigar band image for each band in the image of the particular cigar;
- comparing the number of bands in the image of the particular cigar, the cigar band location for each band in the image of the particular cigar, and the cigar band image for each band in the image of the particular cigar to the data in the plurality of cigar records, so as to find a match between data of the particular cigar and data in one or more first matching cigar records of the plurality of cigar records, wherein the one or more first matching cigar records possess the same cigar brand;
- reading the cigar brand from the one or more first matching cigar records, so as to identify a cigar brand of the particular cigar;
- identifying a portion of the image of the particular cigar corresponding to a tobacco portion of the particular cigar;
- calculating an average pixel color for the portion of the image, so as to calculate a cigar wrapper color for the particular cigar;
- comparing the cigar wrapper color for the particular cigar to the data in the one or more first matching cigar records, so as to find a match between the cigar wrapper color of the particular cigar and data in one or more second matching cigar records of the one or more first matching cigar records, wherein the one or more second matching cigar records possess the same cigar line;
- reading the cigar line from the one or more second matching cigar records, so as to identify a cigar line of the particular cigar;
- and
- transmitting the cigar brand and cigar line of the particular cigar over the communications network to the mobile computing device.