"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" ;

April 29, 2020

Retail - Research Paper Reads

2 Minute Paper Summary.  Key Planogram Papers - Notes
Planogram Compliance Checking Based on Detection of Recurring Patterns
  • Planogram Factors - Regulate product placements
  • Conventional Planogram Compliance - Done Manually
  • Compliance Checking - Detect Product layout, template matching
  • Image Processing - Light conditions, viewpoints of product images, image pattern variations due to seasonal promotions
Steps
  • Estimated layout vs Estimated product layout
  • Spectral graph matching
  • Recurring pattern detection
Conventional
  • SIFT / SURF
  • Cascade object detection
Recurring patterns
  • Common visual pattern discovery
  • Co-recognition / segmentation of objects
  • Object matching with features
  • Clustering of images
  • Visual words and Objects
Planogram
  • Number of rows in shelf
  • Number of products in each row
  • Type of product vs Shelf Type
  • Customer brand positioning
  • Competitor band positioning
  • Product per customer brand influence
  • Products positioned at face height has higher visibility
Metrics
  • Customer presence over shelf type
  • Customer presence over promotional campaign
  • Customer density over shelf type
  • Customer density over promotional campaign
Product Characteristics
Product Quantity, Product Size

Paper #2 - Retail Shelf Analytics Through Image Processing and Deep Learning
  • Coco, Imagenet do not provide annotation to tackle instore product recognition
Recognize products
  • HOG based object detection
  • Viola - Jones
  • SIFT
  • HSV color based
Work
  • Mask RCNN
  • Region based detectors
  • Object Detection
  • Instance Segmentation
  • Key point detection
For each Image
  • Class of product identified
  • Bounding Box position
  • Number of pixels
  • Number of Shelves
  • Shelf Type
  • Promotional Campaign type
  • Cluster type
Metrics calculated on the single Picture
Shelves Number, Cluster, Shelf Type, Promotional Campaign

Implementation
  • Object Detection / Mask RCNN
  • Query and  find similar images against dataset
  • Mask RCNN + VGG for feature extraction + KNN
  • brand detector, product detector
Measure
  • Predictions vs Ground truth items
  • IOU
Experiments
  • Per class detection
  • Per class segmentation

Key Notes
  • Deep-learning based method for precise object detection
  • Estimating the Jaccard index as a detection quality score
  • Extensive, annotated data set, SKU-110K
  • Soft Intersection over Union (Soft-IoU) network layer
  • Represent detections as a Mixture of Gaussians (MoG)
Object detection
  • Sliding window-based approaches
  • Determine Region Proposals
  • Apply Classifiers
  • FPN - Feature Pyramid Network
Merge Duplicate Detections
  • Non-max suppression
  • Agglomerative, affinity propagation clustering
Key Experiments
  • Deep IoU detection network
  • Soft IOU layer
  • EM-Merger unit
  • Detection output (x,y,h,w)
  • IOU - Intersection / Union (%% of overlap)
EM-approach for selecting detections
E Step assign each box to the nearest box cluster
Box similarity KL distance between corresponding Gaussians
Used for fast clustering

Detection Methods
  • Faster-RCNN
  • YOLO9000
  • RetinaNet
  • Infra - Intel(R) Core(TM) i7-5930K CPU@3.50GHz GeForce and a GTX Titan X GPU
Dataset - Link
Presentation - Link
Code - Link. A lot of reusable code is shared in customizing the detections
Poster - Link

Happy Learning!!!

April 26, 2020

Facebook + Reliance Jio (Privacy vs Preferences vs Recommendations)

This has been trending news last couple of days, Facebook investment in Jio. Let's look at stats
  • India - 450 million active internet users
  • Reliance Customer base - 369.93 million and market share to 32.04 percent in the telecom sector (Link)
  • WhatsApp user base of 250-300 million in India (Link)
  • FB users in India - 340 million (Estimated)
How Jio is evolving?
  • Strategy #1 - High-Speed Free Internet @ low cost to Capture the market
  • Strategy #2 - Leverage the customer base for the B2C segment
  • Strategy #3 - Use FB details, Whatsapp details to understand user sentiments, choices, preferences
What Jio knows about customers
  • Usage 
  • Location Coordinates
  • Gender / Behavioral Analytics
Social Media is giving away more and more information that was once deemed private

What Facebook knows about customers
    • Social circle
    • Financial status 
    • Place you live 
    • Place you work
    • Education
    • Buyer Sentiments
    • Decode a lot more from your pictures
    • FB technically can access whatever information that app accesses on your device
    • Facebook is also a data and advertising platform
    What can we do from a single picture on Facebook
    • Age Estimation
    • Emotions
    • Clothing Factors
    • Personality Type
    • Lifestyle Patterns
    • Gadgets / Cars / Things we live with
    • Fashion Consciousness
    • Brands Usage
    We had already looked into this in related post decode your personality
    There are many startups working in this space bringing the rural population on board. From Tiktok, Youtube, Facebook now it means Serious business. Facebook already has a proven history of data scandals. The visibility of data shared / people influenced will always be manipulated greatly. We end-users have no control over the influence of ads. Are they random or targeted based on our historical data?

    Reference - Link
    TikTok is a data collection service 

    • Phone hardware (cpu type, number of course, hardware ids, screen dimensions, dpi, memory usage, disk space, etc)
    • Other apps you have installed
    • Everything network-related (ip, local ip, router mac, your mac, wifi access point name)
    Another competitor that will be looked up will be Telegram. Telegram hits 400M monthly active users . There are other players in this segment.
    Future Possibilities in Connecting Platforms + Users + Social Media Apps after Reliance jio + Facebook + WhatsApp. Future possibilities could be
    • Airtel  / Vodafone + Telegram + Amazon 
    • Airtel / Vodafone + Flipkart + Telegram  
    • Google + Telegram
    WhatsApp and Facebook will be invaded by ads, Stay tuned!!!


    Keep Thinking!!!

    Interesting Product - Pl@ntNet

    Pl@ntNet is a tool to help to identify plants with pictures
    • Identify Plants, weeds
    • 2.4 million images
    • 22K species
    Desktop Version - Link
    Input Image - Link, category - Useful Plants
    Results - 

    They do provide API with 50 daily requests, for a 6-month trial period. This will be a useful App in the future to potentially identify, assess the quality of plants.

    Happy Learning!!!

    VIA Annotation tool 2.0

    I am checking on annotation using VIA annotation tool 2.0 version

    The annotated data is generated as a JSON file. To parse through the file and list the files and annotations, Below is a short code snippet

    Happy Learning!!!

    April 25, 2020

    Mistaken Assumptions

    I was trying to experiment on Matterport Mask RCNN code 
    To restart from earlier trained checkpoint
    • Code finds latest epochs completed (5)
    • It looks at new epoch count (20)
    It starts from 6 till 20.
    I provided a new epoch count = 5, assuming it will increment another 5. The code smoothly terminated without errors. This link clarified my assumptions to reset it to 20.

    Happy Learning!!!

    April 24, 2020

    Day #335 - Restart Custom Object Detection from check point

    Modify to latest checkpoint location in the config file


    Re-run Object Detection with same command python model_main.py parameters

    Happy Learning!!!

    April 19, 2020

    Interesting Product - Sparrosense AI Supervisor

    Another interesting AI product - Sparrosense AI Supervisor

    Monitors people and processes using video analytics, Leverage existing CCTV data sources. (Areas - Manufacturing / Assembly Line / Automotive / Electronics Production Lines)

    AI Components
    • Edge Analytics
    • Person Detection 
    • Dwell time computation of people
    • Parts Identification
    • Action Recognition
    Insights
    • Dashboards and alerts
    • Predict delays
    • Workers Safety - Crowd Detection, Movements
    Video Analytics provides value addition, insights to understand the environment, automated analysis, and capture of work-related observations, findings, identifying gaps, improvement areas, etc.

    Happy Learning!!!


    Interesting Product - observe.ai

    Models to capture/monitor / categorize on call quality with below factors
    • Voice
    • Tone
    • Pitch
    • Duration of call
    • Call Feedback
    • Customer Feedback
    • Customer Satisfaction
    Use Voice data, text data, length of the conversation, feedback captured, Issue duration, Issue closure/number of people involved, A lot of features can be generated to analyze and improve on associate performance.

    Tech Stack / Tools
    Speech Tech : ASR (Speech Recognition), TTS(Text to Speech), Emotion Recognition, Audio enhancements, Speaker separation/diarization, Speaker Identification, Voice Biometrics etc
    NLP Tech : Conversational NLU, NLG, Call Summarization, Sentiment Analysis, Unsupervised Conversation/Dialog Analysis etc
    Products AI Strategy : Smart automated configurations and root-cause analysis/insights, Predictive Analytics, Anomaly Detection, Customer Profiling/Segmentation, Customer Journey Analytics etc

    Nice Product!!!

    April 18, 2020

    SoftBank funded startups and Covid effects

    Interesting read - Link

    We would have used/heard most of these startups WeWork, Oyo, Uber, Ola, etc. Everything is backed by SoftBank with good investments. With COVID effects their valuation will come down with the 'Shared' concept becoming 'Healthcare / Safety' threat for the near future. In the list of companies, there are Zero Companies in Healthcare, Research, AI, Education sector. 90% of them are in Travel, Hospitality. Vision is more of Short term gain and long term loss. It would be hard to see Tesla, SpaceX, SolarCity, Hyperloop any such game-changing companies coming out of SoftBank portfolio.

    A bit more on the 'Shared' Concept. Bunch of startups came up with the strategy for shared mobility, low cost of ownership, etc
    • Zoomcar
    • OLA
    • Uber
    • Bounce
    • Vogo
    • Ridesharing apps
    Often in OLA, Uber except for prime segment, very few %% of cabs are well maintained. The concept of personal hygiene, good vehicle quality, cleaning frequently comes with a cost. Will this crisis will teach everyone on more precautions for personal hygiene, better maintenance of commercial vehicles?




    Keep Thinking!!!