Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Inventory
  3. Stock AI Object Counter v 18.0
  4. Sales Conditions FAQ

Stock AI Object Counter

by Intellare https://intellare.com
Odoo
v 18.0 Third Party 7
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Discuss (mail)
Lines of code 3114
Technical Name stock_ai_counter
LicenseLGPL-3
Websitehttps://intellare.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Discuss (mail)
Lines of code 3114
Technical Name stock_ai_counter
LicenseLGPL-3
Websitehttps://intellare.com

Stock AI Object Counter

AI-Powered Inventory Counting with Meta's Segment Anything Model

Replace manual stock counting with AI-powered image analysis. Capture or upload photos of your inventory and let AI detect, segment, and count objects automatically — then update your Odoo stock quantities in one click.

Overview

This module adds an AI-powered object counting button to the Change Product Quantity wizard and the Inventory operations view. It uses Meta's Segment Anything Model (SAM) to automatically detect and segment all objects in uploaded images, then provides an interactive interface for review, adjustment, and confirmation before updating stock quantities.

Key Features

Camera Capture & Upload

Take photos directly from your device camera or upload multiple images. Supports drag-and-drop and multi-file selection for batch processing.

AI Object Detection

Leverages Meta's SAM (Segment Anything Model) for state-of-the-art object detection and segmentation with no training required.

Interactive Review

Left-click to select template objects, right-click to reject false detections. Full undo/redo support. Histogram-based similarity matching finds all matching items.

Multi-Image Carousel

Upload multiple images with a scrolling carousel view. Counts from all confirmed images are summed into a total quantity update.

Count Sessions & Audit Trail

Every count is saved as a session with date, user, AI count, expected quantity, difference, and error percentage for full traceability.

Confidence Scoring

Automatic confidence percentage and mismatch alerts help you verify count accuracy before applying changes to inventory.

How It Works

1
Select Product

Open AI Smart Count and choose a product from the inventory.

2
Capture / Upload

Take a photo with your camera or upload images of the items.

3
AI Analysis

SAM automatically detects and segments all objects in the images.

4
Review & Adjust

Select template objects, reject false detections, verify the count.

5
Confirm & Update

Confirm the result to update stock quantity automatically.

Dashboard & Analytics

The AI Smart Count dashboard provides a comprehensive overview for each product:

  • Last AI count result and expected quantity comparison
  • Difference and error percentage tracking
  • Match/Difference status badges
  • Historical count sessions with full audit trail
  • Last count date and user information

Installation

  1. Install the Python dependencies listed in requirements.txt:
    pip install torch torchvision opencv-python
    pip install git+https://github.com/facebookresearch/segment-anything.git
  2. Download a SAM model checkpoint (e.g., sam_vit_l_0b3195.pth) from Meta SAM GitHub and place it in static/sam_models/model.pth or configure the path in Settings > Technical > Parameters > System Parameters.
  3. Install the module from the Odoo Apps list.
  4. Navigate to Inventory > AI Smart Count to start counting.

Configuration

The following system parameters can be configured under Settings > Technical > Parameters > System Parameters:

ParameterDefaultDescription
stock_ai_counter.sam_checkpoint_pathlocal pathPath to the SAM model checkpoint file
stock_ai_counter.sam_model_typevit_lSAM model type: vit_b, vit_l, or vit_h
stock_ai_counter.resize_max512Maximum image dimension for processing
stock_ai_counter.hist_bins32Number of histogram bins for similarity matching
stock_ai_counter.sim_threshold0.65Minimum similarity score for object matching
stock_ai_counter.area_ratio_min0.5Minimum area ratio for matching candidates
stock_ai_counter.area_ratio_max1.6Maximum area ratio for matching candidates
stock_ai_counter.iou_suppress0.5IoU threshold for overlapping detection suppression

Requirements

  • Odoo 18.0 (Enterprise or Community)
  • Python 3.10+
  • PyTorch (CPU or CUDA GPU)
  • OpenCV (opencv-python)
  • Meta Segment Anything Model (segment-anything)
  • SAM model checkpoint file (download separately)
  • Recommended: NVIDIA GPU with CUDA for faster processing

Support

For questions, bug reports, or feature requests, contact us at info@intellare.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
  • Ratings
  • Discuss
by
y
on 6/1/26, 5:00 AM



by
y
on 6/1/26, 5:00 AM



Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with