The solution will be implemented using polygon sidechain technology by writing a smart contract to authenticate products by giving them a new Unique ID or Utilizing existing unique IDs like IMEI or Serial numbers and adding them to blockchain and tracking the owners by adding the owner details for each product to the block by the execution of the smart contract in polygon sidechain. Each manufacture, upon registration will receive a parent block from which they can add the details of each of their product details . The users (customer) has to register the ownership by adding their details to the blockchain by verification of their id through face recognition.so when next owner gets the product they can check the authenticity of the product .In case of 2nd hand customer they can check the legitimacy of the product if the product has been gone through any illegal path(if the product is original or if it is flagged as stolen or if it acquired though illegal means ) . we are using side-chain (polygon) so we can increase smart contract execution speed and reduce gas fee in total reduce the cost to add details of owner and product to the block and other features provided by polygon.
The major problem we ran into was face comparison to validate owners face when a user buy a product.While we were implementing it we couldnt solve the problem where we need to re train the model everytime when a new user registers.Due to the limitation of knowlegde and resources we couldnt find a suitable implementation for the same.
Blockchain and firebase integration was difficult , after our proper research we solved the issue.
We couldnt deploy the smart contract at first because we were using Remix but after lot of changes and debugging we tackled the problem.
Discussion