The invention provides a refrigerator system, a method and a software program product for controlling and/or advising a diet for a user. The refrigerator system has a refrigerator including a light and a camera that captures an image of contents of the refrigerator. The image is processed by a graphics processing unit (GPU) integrated with the refrigerator and/or a cloud server. The GPU analyzes the image to recognize a quantity, a quality, and/or a kind of food articles and/or food packages such as, vegetables, fruits, beverages, etc. A central processing unit (CPU)/GPU of the refrigerator provides diet plans, recipe recommendations, identifies grocery replenishment requirements, updates and shares shopping lists with food delivery agents, etc., based on the analysis of the refrigerator contents. The invention helps in minimizing food wastage, expanding meal options considering expiry dates, and maximizing benefits of a healthy diet by recommending and controlling the user's diet.