"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;
Showing posts with label VirtualTryon. Show all posts
Showing posts with label VirtualTryon. Show all posts

August 24, 2023

Vision - Virtual Try on - Tryonexample with InstructPix2Pix

InstructPix2Pix: Learning to Follow Image Editing Instructions

  • To obtain training data for this problem, we combine the knowledge of two large pretrained models—a language model (GPT-3) and a text-toimage model (Stable Diffusion)
  • Instruction-based image editing as a supervised learning problem
  • An approach that combines two large pretrained models, a large language model and a text-toimage model, to generate a dataset for training a diffusion model to follow written image editing instructions

Input Image

Prompt for Background
Prompt for Clothing



Keep Exploring!!!

June 19, 2023

Virtual Try on - TryOnDiffusion: A Tale of Two UNets

  • Transfer clothes between source, target
  • Warping, blending
  • Occlusion is challenging
  • Diffusion models to handle issues

Warping - 

Warping involves transforming an image's geometry, usually to correct distortions, align images, or change the perspective. 

There are different types of warping, such as:

  • Affine warping: This type of warping preserves parallel lines and involves a linear transformation followed by a translation. It can represent transformations like rotation, scaling, and shearing. 
  • Perspective (projective) warping: This type of warping can represent a more general transformation that includes perspective changes. It can correct distortions caused by the camera's viewpoint or create a "bird's-eye view" of a scene. Perspective warping requires four pairs of corresponding points in the input and output images to calculate the transformation matrix.
  • Warping is widely used in various applications, such as image stitching (for creating panoramas), rectifying images for OCR (Optical Character Recognition), and correcting lens distortions in photographs.

In the context of computer vision libraries like OpenCV, warping functions are available to apply these transformations to images, given the appropriate transformation matrix and input/output coordinates.

OpenCV Warping functions

  • cv2.warpAffine
  • cv2.warpPerspective
  • cv2.remap

OpenCV Blending functions

  • cv2.addWeighted
  • cv2.add
  • cv2.subtract

  • Note #1 - All segmentation done on low resolution
  • Note #2 - Super Resolution is added to cover up low res and give high res outputs
  • Note #3 - Running all tasks on high res is even more challenging

Paper - link

Walmart Try on


Things to note

  • Poster detection
  • More minmal clothes and superimposition approach
  • Full body posture + cloth overlap on it.

Keep Exploring!!!

January 14, 2023

GPT for Marketing Product

5 reasons why every retails needs virtual try-on technology

  • Increased Customer Satisfaction: Virtual try-on technology allows customers to try on clothes without having to physically visit a store. This increases customer satisfaction by providing them with a convenient and hassle-free shopping experience.
  • Improved Conversion Rates: Virtual try-on technology can help to improve conversion rates by giving customers the confidence to purchase items without having to worry about fit.
  • Enhanced Visualization: Virtual try-on technology allows customers to visualize how an item of clothing will look on them before they purchase it. This helps to reduce the risk of customers returning items due to dissatisfaction with the fit.
  • Increased Engagement: Virtual try-on technology can help to increase engagement with customers by providing them with an interactive and immersive shopping experience.
  • Cost Savings: Virtual try-on technology can help to reduce costs associated with returns and exchanges due to incorrect fit. This can help to increase profitability for retailers.

Top 10 reasons Why virtual try on is needed in the cosmetic and beauty industry

  • Increased Customer Engagement: Virtual try-on technology allows customers to interact with products in a more engaging way, which can lead to increased sales and customer loyalty.
  • Improved Shopping Experience: Virtual try-on technology provides customers with a more realistic shopping experience, allowing them to visualize how a product will look on them before they make a purchase.
  • Increased Product Awareness: Virtual try-on technology can help customers become more aware of a product’s features and benefits, leading to increased sales.
  • Increased Conversion Rates: By providing customers with a more realistic shopping experience, virtual try-on technology can help to increase conversion rates.
  • Increased Brand Awareness: Virtual try-on technology can help to increase brand awareness by providing customers with a more engaging shopping experience.
  • Improved Customer Service: Virtual try-on technology can help to improve customer service by providing customers with a more personalized shopping experience.
  • Increased Product Customization: Virtual try-on technology can help to increase product customization by allowing customers to customize their look before they make a purchase.
  • Reduced Returns: Virtual try-on technology can help to reduce returns by allowing customers to visualize how a product will look on them before they make a purchase.
  • Increased Accessibility: Virtual try-on technology can help to increase accessibility by allowing customers to try on products from the comfort of their own homes.
  • Cost Savings: Virtual try-on technology can help to reduce costs associated with product returns, shipping, and customer service.

Keep Exploring!!!

December 21, 2022

Virtual Try on - Products / Demos

 





 




  


Ref Link
Slides Link 

Keep Exploring!!!

September 12, 2022

Virtual Try on AR vs Vision

Virtual Try on AR vs Vision

Paper #1 - Augmented Reality based Virtual Dressing Room using Unity3D

AR Advantages

  • AR kit recognizes and tracks a person’s movements using an iOS device’s rear camera.
  • A12 bionic chip running iOS 13
  • 3D’s Human Body Tracking library
  • Model your mesh in a standard T-pose.
  • 3D skeleton was generated which imitates human motion in real time
  • IOS mobile platform.


In a nutshell, an augmented reality virtual fitting room mobile app for iOS is being developed in conjunction with a human body recognition and motion tracking model. 

In your 3D-modeling software package (such as Maya, Cinema4D, or Modo), import the provided skeleton and the custom mesh model that you want to use with AR kit’s Motion Capture functionality

You character should be modeled in a T-pose, your scene should contain only one bind pose, and the rotational values of each joint in your hierarchy should match the values in the provided example skeleton

AR kit’s body-tracking functionality requires models to be in a specific format


To superimpose the clothing over the user's body, we needed a 3D model of the garment, which we created using Blender

Demos - Unity Virtual Fitting Room Full Tutorial + Cloth | Unity, Realtime Tracking, Realsense, Kinect, etc

Face Tracking - Unity Documentation

Augmented Reality for Everyone - Full Course

GO VIRTUAL: NOW YOU CAN BE YOUR OWN STYLE AVATAR - Link

Dense Human Pose Estimation In The Wild - Link

Demo - Link


DensePose - Dense human pose estimation aims at mapping all human pixels of an RGB image to the 3D surface of the human body.

Deep Fashion3D: Dataset & Benchmark for Virtual Clothing Try-On and More

  • Deep Fashion3D contains 2,078 3D garment models reconstructed from real-world garments in 10 different clothing categories

Paper - Deep Fashion3D: A Dataset and Benchmark for 3D Garment Reconstruction from Single Images

  • We present Deep Fashion3D, a large-scale repository of 3D clothing models reconstructed from real garments



Sample reconstruction - Link

Paper - Body Capture and Marker-based Garment Reconstruction

Our goal is to generate a 3D model of a person wearing a garment, from multiview RGB videos

  • Garment Digitizing: Digitize the garment into a 3D flat mesh.
  • Marker Tracking: Track the markers and obtain their 3D locations.
  • Body Capture: Reconstruct a body model with accurate shape and pose.
  • Garment Reconstruction: Virtually wear the garment on the body

Paper - Image-based Dress-up System



  • Skeleton Setting - To establish the necessary correspondences between the model and garment images, we let the user manually select joint positions on the input image with simplified skeleton structures

Paper - Virtual Fitting Solution using 3D Human Modelling and Garments 

  • Combining multiple deep learning models to create a system that uses all of the models' inferences and produces a single output
  • Create a pipeline for integrating 2D based virtual garment fitting solutions in conjunction with 3D reconstruction networks, to visualize the virtual tryon results in 3D


  • In Skeleton-based modelling, the identification and analysis of X, Y coordinates
  • 3D posture estimate X, Y, and Z coordinates of human body joints are used
  • OpenPose initially finds key-points that correspond to each person in the image
  • DensePose to estimate 3D postures from a 2D image on a surface-based human model
  • Densepose is implemented using multiple combinations of neural networks that combine the regression and classification tasks
  • DeepCut provides an approach for detecting and estimating the human body pose
  • Graphonomy uses graph transfer learning to generate universal human parsing for several human parsing tasks and using annotations in a better way
  • LIP_JPPNet This is deep learning model for body part segmentation and pose detection built using TensorFlow. This network is trained on Look into People (LIP) Dataset
  • CIHP_PGN This neural network provides instance level human parsing by using part grouping network. 
  • Semantic part segmentation, Instance-aware edge detection, refinement, and Instance partition process






  • Pose Detection Component
  • OpenPose Network Architecture
  • Geometric Matching Module

More Git Solutions - Link

Fashion parsing models in TensorFlow

Module: MMM-WeatherDependentClothes

This MagicMirror Module displays Clothes depending on the weather forecast and your personal preferences. 

Paper - DEEP LEARNING MEETS FASHION - A LOOK INTO VIRTUAL TRY-ON SOLUTIONS




  • Multi-Garment Network’s dataset contains scans, SMPL registration, texture_maps, segmentation_maps, and multi-mesh registered garments 





Two base models are used: Multi-Garment Net[4] and Pix2Surf [2]. A third model is used implicitly by MGN and Pix2Surf as a black box. It is the 3D human body reconstruction model SMPL [18]. [2 and [4] use SMPL to create 3D garment templates and redress 3D avatar

Paper - Virtual Garment Imposition using ACGPN

GPN consists of three features. 

1. It is a semantic generation module which uses segmentation to map the human body with target clothes. 

2. Clothing wrapped module which adjusts the garment images to deformed garment mask. 

3.Content Fusion Model which adds the data to previousproduct to quickly discover the generation of the human body structure in the resulting combination layer.

  • Clothing Warping (CWM) 
  • Model Content Fusion (CFM)
  • Semantic Generation Module (SGM)

Keep Exploring!!!