Project 8Ball

From wiki
Revision as of 06:41, 20 April 2022 by Helen.he (talk | contribs)
Jump to navigation Jump to search

Currently, Consumer Product Safety (CPS) inspectors must verify the compliance of consumer products and cosmetics at various locations such as land border sites and at locations operated by their regulated party. In addition to verifying compliance as per the various regulations under the Canada Consumer Product Safety Act (CCPSA) and Food and Drugs Act (FDA), the program also collects information for documentation and surveillance purposes. Enforcement is typically taken on-site, however the current compliance verification process is slow due to the various steps involved. During this process inspectors are expected to review the past compliance history of the products and the regulated party, information that is typically stored in various sources such as internal Health Canada databases and the internet.

Inspired by the popular Magic 8 Ball fortune telling ball, Project 8Ball will stand as a resource for Government of Canada employees to enter information and “magically” receive an instant answer of advice. Project 8Ball was initiated through collaboration between consumer product safety inspectors across Canada and colleagues from Health Canada’s Triage and Surveillance division (TSD) and National Capitol Region (NCR). Project 8Ball was created to leverage the technology developed in Project Cyclops to develop a user-friendly mobile application that will be used as a support tool for regulatory decisions on at the border. The scope of Project Cyclops was limited to focusing solely on natural health products (NHP). Project 8Ball was able to utilize existing technology to expand the scope of Project Cyclops to apply existing technology to focus on cosmetics. This tool will allow Government of Canada employees to have relevant and tailored information at their fingertips (see icon mock-ups in design process). The mobile application will include automatic label reference tool to detect cosmetic ingredients from the Restricted and Prohibited Hotlist to assist inspectors when making admissibility decisions at the border. As well, have capabilities to generate reports that may be used by inspectors for detailed documentation, compliance promotion, outreach, education, and future surveillance.

Development- Project Cyclops

Phase 1: Initiation & Stakeholder Engagement - Completed

During the initiation and stakeholder engagement phase, we will be finalizing work plans and obtaining approvals. We will then be identifying the requirements for product labels for NHPs as per the Food and Drug Act under natural health product regulations and guidance documents. A collaboration with ROEB programs will be required to apply data from inspection processes requiring label reviews. This will include the health program appliance to understand the inspection process, as well as the information recorded for compliance verifications or the compliance-monitoring project that would require label review, and the Border Integrity Program to understand the border inspection process, with the labeling review undertaken for NHPs reviewed at the border.

There will be a co-creation with BREAD, BSFO and IMSD to ensure the project aligns with the departmental approach for potential scalability.

Phase 2: Business Analysis and Functional Requirements (The Discovery Phase) - Completed

During the business analysis and Functional requirements phase, the business processes will be mapped for label reviews within ROEB, including the output required for the completion of the inspection specific to each group. Functional requirements will be identified; those of which would be required for the MVP for use in the field. During this process BRD and SRD will be developed and reviewed.

Phase 3: Development (Agile process)

During this phase, economies of speed will be used to procure professional service(s) that are able to identify the model required to test feasibility of a solution that is able to conduct functions. These functions include text scanning, with image and video analysis capabilities of 3D objects having varying predictive capabilities based on angular projections, and automation of real-time review and assessment of product labels using artificial intelligence enabled by predictive insight, with information from acute and legacy data. Proof of concept will be developed, which will be used to demonstrate features required for an MVP.

Next Steps – Project 8Ball

Stream 1

The scope of the 8Ball Project in Stream 1 is to develop the model, or a preliminary proof of concept that has demonstrable features that would be required for a horizontally designed Minimum Viable Product (MVP). IMSD will play a pivotal role in providing support and guidance to the vendor and ensure backend compatibility to Health Canada infrastructure. By using technology developed in Project Cyclops, the feasibility of the solution will be demonstrated. The MVP should be able to review product labels for a Cosmetic product during an on-site inspection with a random sampling of products, in a real inspection setting. 

The 8ball mobile application tool will provide digital photos, translations and the conversion of images, printed text or handwritten into machine encoded text (Optical Character Recognition (OCR)) in real time. Inspectors will be able to capture images of a product and with OCR the tool will cross-reference it to the frequently updated Hotlist Ingredient List (see images in design process). The mobile tool will provide live translations of English, French, and other languages to verify compliance against labelling requirements and the Hotlist Ingredient List. Consumer Product Safety (CPS) has at least 16 regulations that include specific labelling requirements with pre-defined text specified. Labels would be scanned, and the existing text would be compared to the regulatory requirements. The process output would identify the deficiencies (view process flow below). Additionally, pending co-operation of Canada Border Services Agency (CBSA) officers, the application will be offered to the CBSA officers to be used on a voluntary basis to help focus on providing improved referrals to Health Canada.


Throughout the development process of the 8Ball application, a list of non-negotiable requirements for the final product was established. The application should have features that include:

  • Accessible on a mobile device and tablets
  • Analysis runtime and report output should not be more than 1 minute
  • Ability to analyze both French and English labels on varying surfaces  
  • Ability to recognize languages other than French and English and translate into French or English
  • Ability to categorize cosmetics products in order to identify specific, applicable ingredient restrictions and usages.
  • Capacity to have multiple users (Maximum 20) using the application at the same time
  • Ability to harness active learning to continuously improve functions through continued use.  
  • Ability to run through a Government of Canada Azure Cloud
  • Refreshes information utilized from the APIs daily

Stream 2

In the final stage of the project will assess if the MVP is appropriate for enterprise release. If appropriate, the project would seek to secure funding to scale accordingly via the Investment Plan process. The project will take an inclusive approach with both inputs and outputs, critical to perpetuate innovation. The tool will provide a voluntary sign-up-based platform for Canadians to access outreach information such as recalls and alerts of consumer products, consultations, reports, etc.

Design Process

The 8Ball design process strives to combine optimized functionality, usability and creativity.

Initial 8Ball logo sketches (see below) have been designed to combine several elements that the 8Ball application will encompass. The featured infinity symbol represents the infinite possibilities that the 8Ball application will provide for Government of Canada employees, other government organizations, unregulated parties, and consumers. The ouroboros, an ancient symbol that depicts a serpent eating its own tail, symbolizes the positive feedback loop that the 8Ball application will harness. This feedback loop will allow the CPS program to gather and leverage more detailed information input by inspectors and consumers in order to compile further data for future surveillance and developmental purposes. Finally, the circular black and white 8Ball captures the foundation of the 8Ball project, inspectors will be able to “ask a question” and the application will provide an instantaneous response with advice.  

User Interface

Initial sketches for the user interface included demonstrations of OCR capabilities and the organization of data entries. Below outlines the translation from primary sketches to current interactive functions within the developing 8Ball application. These images solely capture spectific functions of 8Ball, insight into the application's process flow and further capabilities is available in the 8Ball teaser video.

8Ball User Interface Sketches.png

Benefits to Health Canada

The real-time compliance verification of products that the 8Ball Project presents will allow for numerous gains in accuracy, efficiency, and outreach such as:

  • Ability to generate accessible reports that inspectors can share with regulated parties to promote outreach and regulation compliance
  • Generated data from inputs allow for further and more thorough data analysis for future surveillance
  • Provide a cohesive platform for inspectors to quickly and remotely access information
  • Allows CPS to use the photographs taken by users to store the most up to date information on products such as accurate lot /model numbers, bar codes, product descriptions etc.
  • Increase consumer confidence and government transparency by making information more easily accessible to members of the unregulated parties