Understand Objection Detection model | Zoho Creator Help

Understand Objection Detection model

AI Models have undergone a major revamp and is now rechristened as AI Modeler that lets you build, train, and publish models to be used across your apps. If you've created models prior to this revamp, click here to know more. 

Refer to this page to learn more about AI models, their creation, and subsequent consumption.

Object detection models can be trained to identify predefined objects from digital photographs with a certain accuracy level. This model uses Artificial Intelligence (AI) to analyze the images that you upload. 


You may have a huge inventory of diverse objects that require manual detection on a daily basis, which might be time-consuming and repetitive. This is where the Object Detection model comes in to automate the process. It identifies objects by comparing the uploaded user-input data to the predefined objects that the model can recognize. Using this model, one can automate business processes like maintaining an inventory, accounting, and more.

Object Detection model prerequisites

Businesses of any size have their own custom objects to be detected. For example, if you're dealing with construction materials, you can upload images of various bricks used and train the model to identify each of them.

Creator enables you to build and train custom object detection models tailored to suit your business needs. 

You can also utilize our ready-to-use models to detect objects from a pre-defined list of objects. In ready-to-use models, you can select the application name and form name from the Microservices section and you'll be taken to the form in which a new object detection field will be created. 

What skills do you need?

  • As the admin, you can create and use object detection models, whereas your users only consume the models you've created. 
  • You should know enough about all your business requirements to determine and gather the images that'll be used for training the model.
  • As a low-code platform, Creator doesn't require you and your users to have prior coding and machine-learning skills to create and consume the object detection models.

What data do you need?

  • You need a minimum of 10 images for each object to train an object detection model. For desirable results, you should have at least 20 images.
  • You can also use 50 images to help the model identify image attributes (color, shape, size) better and also improve the model performance. 
  • For desirable results, you can upload up to 20 images in varying angles.
  • For model training, you may upload 10 images for each object, though more is preferable. The model would be much more confident and be able to recognize image properties such as color, shape, and size in 50 images.

Which pricing plan must you be in?

  • AI models will be available for users in Professional and Ultimate plans. Refer to our pricing page to learn more.

Which version of Creator should you be using?

  • You must be using Zoho Creator 6 (C6) to be able to create custom AI models whereas, the ready-to-use AI models are available in both C6 and C5.

Get started with sample data

To help you get started quickly and explore the possibilities of object detection, you can build and train an object detection model using sample pictures, that you can readily use in your Creator applications

Scroll down to the end of this page and utilize our sample data.

Example

Let's assume that you've built Zylker's Inventory Management app using Creator, and you want to detect various objects to keep an account of the number of items in stock. Manually accounting for a large-scale inventory is very time-consuming. 


Let's say this app keeps count of three construction raw material: hollow concrete blocksAAC blocks, and lintel blocks.

Here's how you would use the Object Detection model in this case:


  1. Create a model:
  • Identify the different type of objects that you want to account for and be identified by the model. Here, the objects that require to be identified include hollow concrete blocksAAC blocks, and lintel blocks.
  • Upload sufficient images of the objects that need to be identified. Here, you'll need to upload images of the three types of bricks.
  • Make sure to upload a minimum of 10 images for each object, preferably with a plain background during training. Ensure that you cover the object in different angles and lighting.
  1. Train the model.
  2. Deploy the model: 
  • Select an image field in the form which will contain the input for the model. 
  • Add a new object detection field.
  • Upload an image in live to get the required values. The input in this case will be the image of one among the three bricks.

Object Detection Model Flow

Add Training Data

Training data is the initial dataset that is used by the model to analyze data patterns, make interpretations, and arrive at a learning that helps it make detections. To train an object detection model to recognize your objects, you have to gather sufficient images that contain those objects. 

  1. The model outcomes may not be always accurate, which is also the case with any AI. 
  2. The model outcomes are dynamic. The same input can produce different outcomes at different times based on how much the machine has learned. This implies that as you  continuously retrain a model, it is learning continuously.
Note: It is recommended to adhere to the guidelines for image quantity and quality for better results.

Format and size

The images that you'll be feeding your object detection model require the following:

  • Format:
  • JPG
  • PNG
  • TIF
  • Size:
  • Maximum 5 MB per image in an object
  • Overall model size is 250 MB

Guidelines

  • For an object detection model to function, a minimum of two objects need to be added as training data. 
  • We recommend that you upload at least 10 images each for the objects that you add.
  • Ensure that the overall model size does not exceed 250 MB.
  • If you upload a folder containing all the required images, we import only the first 20 images from that folder.
  • If the size of the image folder exceeds the model size limit of 250 MB, only a few images will be uploaded, provided their size is within the allowed model size.
  • To add an object detection field in your form, you must have an image field as the source field in that form.
  • If none of the supported field types are available in the form, you will first need to create them in order to deploy the object detection model. 

Adding images

You need to gather sufficient images that contain the objects you want the model to detect. After collecting images, you need to create an object folder and specify a name for it. You can then upload the required images one by one or all at once. You can also upload the images stored in your .zip folder. In this case, the .zip folder's name will be applied as the newly-created object folder's name. The images that you collected earlier will now come in handy because you need to upload them to the object detection model.

  1. It is recommended to add different images of the same object at varying angles to improve model accuracy.
  2. Ensure your images follow the qualitative and quantitative guidelines.

Model Summary

After adding the training data, you can review the model details such as model name,  its type, size and total number of images added per model. You can also view the object details such as object nametrained images, and object size. In case you need to make any modifications, you can go back and make them. Otherwise, you can proceed to train the model. 

Train model

Before you can actually use your object detection model in your application, you have to train it to perform and produce the expected outcomes as per your business needs. After you've selected and reviewed your object images, click Train to train your model.

Note: Training might take some time, so you can stay on the same page and wait, or you can close the page and come back later. The training time depends on the model size and the number of training models in the queue.

View and manage model details

Once training your model is complete, you can view the model details, the model's versions and its deployment details, if any. The model is then ready to be published and deployed into your apps.


You can manage your model in the following ways:

  • Retrain - This helps in improving the object detection model's reliability and accuracy. 
  • You can click Re-train and your model will be retrained.
  • After each retraining is over, a new version of the model will be created. You can switch between different versions according to your needs.
  • If you want to delete a version that is currently used, you need to switch to another version before proceeding to delete it. 
  • If the model training fails, you'll see 'Model training has failed!' Meanwhile, the previous working model will be used for prediction. 
  • Rename - You can rename your model if required.
  • Delete - If you want to delete your model due to inconsistent or wrongly-added data, you can use the Delete option.

Test model

It is recommended (but not mandatory) to test your model before publishing and deploying the model in your applications.

After training your model, you can test your model to check and know how your model works and if the training is satisfactory, before publishing and deploying it in your applications. You can upload a suitable test data (object image) and after testing your model, you'll get the predicted outcome along with a confidence score

Click here to learn how to improve your model performance.
  • If the confidence score is high (85 - 97), you can proceed to publish your model.
  • If the confidence score is good (70 - 84) or fair (51 - 69), you can re-train your model with additional images. 
  • If the confidence score is poor(< 50), you can check for inconsistencies in your data, refine them and train your model again.

Confidence score

The object detection model calculates the confidence score for your trained model based on the detection results of your test dataset. For example: if you've uploaded a image as test data that is similar to your training images, you'll get a higher confidence score of 96. If you get a lower confidence score, refer here to improve your model performance.

The object detection model hasn't yet seen your future images, so this confidence score doesn't represent how well it will perform on those images.

Improve model performance

  • Data quantity - It's recommended to upload sufficient (at least 10) images to train your object detection model and increase its accuracy. With fewer images, there's a strong chance that your model might detect incorrectly or with a lesser confidence score. Also, your model won't be biased and will be able to generalize well if you include various types of images of the same object.
  • Data quality - It is recommended to add clear images with a plain well-lit background as training data. With a background, there can be other objects that the model might pick up.
  • Data size and angles - Upload images of objects in various sizes that show various aspects of the objects, such as a photo of a group of apples and a close-up of a single apple. This type of difference in scaling aids in the model's ability to generalize objects and identify them with better confidence. It is  also recommended to provide images of objects taken from different angles. 

Publish and use model

After you train your object detection model, you can publish it to make it available to your users. Once the model is deployed in your applications, a new object detection field will be created and you can start detecting objects. Learn how

You can publish your model only once. In case you don’t want your users to use the model, you can delete the model.

To use your object detection model in an environment-enabled Creator application, you must have at least one version of that application published in the production environment. After deploying your model in the application, you can filter between different stages of the environment to check which stage the model is deployed in. Learn how

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION









                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Shared Responsibility Model

                                                                                                        Building a secure, reliable, and robust low-code application platform that complies with ISO, SOC, HIPAA, and other international standards is our top priority at Zoho Creator. While we strive towards providing you with an uncompromised cloud ...
                                                                                                      • Understand object detection field

                                                                                                        The Object Detection field determines the objects present in the pictures stored in an image field of your form. It uses Zoho's Artificial Intelligence (AI) to identify the type of objects present in an image. This field will store the output as a ...
                                                                                                      • Build and Manage Object Detection Model

                                                                                                        AI Models have undergone a major revamp and is now rechristened as AI Modeler that lets you build, train, and publish models to be used across your apps. If you've created models prior to this revamp, click here to know more. In this page, we will be ...
                                                                                                      • Add object detection field

                                                                                                        Refer to this page to learn about the Object Detection field Prerequisite: an image field in your form You need to create an object detection model before adding an object detection field inside your form. 1. Edit your app. 2. Open the builder of the ...
                                                                                                      • Retrain prediction model

                                                                                                        Refer to this page to learn about model training and retraining We recommend retraining the model when your data set has grown considerably beyond the last used train When the model is being retrained, the previous working model will be used for ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources