Creating a Classification Application
  • 06 Feb 2024
  • 4 Minutes to read
  • Dark
    Light

Creating a Classification Application

  • Dark
    Light

Article summary

34 STEPS

1. First, select the Application Builder on the left side of the screen. You may notice many different options, but for now we will select Classification under Vision AI Applications.

Step 1 image

2. Type the Name of the Classification application and Press Enter. When naming the application, it is important to name it something meaningful that directly relates to the application purpose.

Step 2 image

3. Click Next blue button, and you will proceed to the Input Subjects page.

Step 3 image

4. An Input Subject is simply a group or collection of images/ videos which will be then used by the Application for Training. The Input subject is the media which has not yet been processed by the Classification Application.

Step 4 image

5. Type an Input Subjects name. Again please consider a name that will help you differentiate the Input Subject in the future.

Step 5 image

6. Click Create a new subject in the current scenario, named as animals 

Step 6 image

7. Click Next blue button in the end of the page, so you can proceed to the Output Subjects page

Step 7 image

8. The Output Subject of the Classification application is where you will find the labeled and sorted images. Usually the Output Subject gets populated with media (images/ videos) after successful Training of the Application. 

Step 8 image

9. Type Output Subjects name. Again please consider the name, as it should be directly related with the Subject Of Interest displayed in the image.

Step 9 image

10. Click Create a new subject in the current case scenario, named as dogs

Step 10 image

11. Type the second Output Subjects name, as the Classification app requires at least 2 and up to 2,200 Subjects to detect inside the images.

Step 11 image

12. Click Create a new subject in our case named as cats

Step 12 image

13. Click Next blue button

Step 13 image

14. The yellow message banner informs you that instead of 2 subjects Classification application, you could choose a Detection application, which gives more control over precision and recall. Click Next

Step 14 image

15. In this final step you will select some of the advanced settings. The Frames Per Second Requirement is related with the Application Model and the images which will be processed. Click the Frames per Second Requirement to change the value.  

Step 15 image

16. Type Frames per Second Requirement in a numeric value.

Step 16 image

17. Click Complete which will close the following window and will open the Application Summary window for you.

Step 17 image

18. Click the Input Subject which is always displayed in the beginning of the Application pipeline. In our case it is called 'animals'. 

Step 18 image

19. Click Upload Media to add the initial Dataset to to the Input Subjects. Once it has been uploaded to the Input Subject, the Media goes for training by the User.

Step 19 image

20. Click select files or select folder to upload the initial Dataset of images/ videos to the Input Subjects of the Application

Step 20 image

21. Click Next once you have selected the files or the folder containing the Media

Step 21 image

22. Click Upload 

Step 22 image

23. Click on the Application Name in our case it is animals-classifier 

Step 23 image

24. Click Provide Feedback, so you can start training the Application Model

Step 24 image

25. Select the option (Subject of Interest) displayed in the image on the left side and Click Confirm button

Step 25 image

26. Click Replays, so you can provide more feedback, since the Training is a continuous process of uploading images and Providing Feedback. 

Step 26 image

27. Select the Input Subject. In current scenario select animals as previously we named it 'animals'.

Step 27 image

28. With your mouse, click and drag the Probability Filter, and drop it at the beginning of the scale

Step 28 image

28b. Drop

Step 28b image

29. Scroll down and select the Force Feedback option which will enforce the Feedback, and will populate the Feedback queue.

Step 29 image

30. Click Replay Subjects blue button in the end of the window

Step 30 image

31. Click Confirm once you have selected the Subject Of Interest (in the current scenario it is dogs)

Step 31 image

32. Click Confirm once you have selected the Subject Of Interest 

Step 32 image

33. When there are no images left in the Feedback Queue No pending feedback screen will be displayed. Click Quit

Step 33 image

34. That's it. You're done.

Step 34 image

Here's an interactive tutorial

** Best experienced in Full Screen (click the icon in the top right corner before you begin) **

https://www.iorad.com/player/2274224/Cogniac---How-to-create-a-Classification-app-and-train-a-Model

I. How the application is working

This application is designed to classify the output subject in an image, making it useful for various industries.

II. Where the Classification application can be applied. Most common use cases:

  • Healthcare: It can differentiate between good and bad tumors.
  • Mechanical engineering: If a company manufactures automobiles, the application can help classify different parts so they can be sorted and sent to the right assembly line.
  • Food industry: It can be used to classify different types of food before they are sent for packaging.

III. What could cause issues while using the application:

  • If the media used in the application is blurry or of low quality, it may cause image recognition and processing issues. This could lead to inaccurate results or even complete failure to classify objects. It's essential to use high-quality media to ensure the best possible application performance.

  • Another factor could be insufficient training data for the application to recognize and classify small objects accurately.

  • If the subject list used in the classification application is not exhaustive, it may result in some items being left unclassified. On the other hand, if the list is not mutually exclusive, some items may be classified into multiple categories, leading to confusion and incorrect analysis. In both cases, the Accuracy and effectiveness of the classification app may be compromised. Therefore, ensuring that the subject list is exhaustive and mutually exclusive is important to obtain the best possible results.

Note:
The output subjects from the classification application can also be sent as input subjects to another application. This can help the user combine the applications to build more complex flows, allowing them to solve different problem/s.



 


Was this article helpful?