π Selecting a machine learning model for a real-world project involves breaking down the problem, identifying potential models, and choosing the best solution.
π‘ In a scenario where a web app needs to detect intruders without sending images to the cloud, tensorflow.js client-side in a browser is a suitable option.
π· To detect intruders, the system should be able to identify humans in video frames, excluding cats, dogs, or other animals.
π There are various pre-trained models that can be used to detect a person in an image, including face and hand models.
π Sound can also be used to detect talking, even if the person is not visible.
π€ Different models like image classification, object detection, body segmentation, pose estimation, face landmark detection, and hand pose estimation have pros and cons that should be considered.
β±οΈ The inference speed of the model, measured in milliseconds or frames per second, is important for real-time applications.
π When selecting an ML model, consider the classification time and the amount of memory used.
π» Knowing your end users' expected working environment is important in deciding which models are suitable.
π± Consider the device and internet connectivity when choosing a machine learning model.
π‘ You can benchmark the ML model yourself by creating a simple website and recording execution time and file size.
β±οΈ To calculate execution time, record a timestamp before and after executing the model and calculate the difference.
πΎ To check file size, use the Chrome developer tools and inspect the network tab to see the assets being loaded.
π The memory usage of ML models should be considered before selecting one.
β±οΈ The frames per second (FPS) performance of ML models is important for real-time applications.
πΎ File size may be less of an issue if the ML model is loaded once and the device has fast Wi-Fi.
π Further research is required to explore faster body segmentation models.
π‘ High RAM usage of face landmarks and hand pose models should be considered for older mobile devices.
π It is necessary to try different machine learning models to find the most suitable one for the intended use case.
π€ Object detection provides more information with fast performance and lower RAM usage compared to image classification.
π₯ Pose estimation can detect a maximum of six people at a time, but may not scale well for larger groups.
π€ Choosing between pose estimation and object detection models depends on the need for speed and granularity.
π Determining the best model requires investigation and research based on customer needs and the environment.
π· The next section will guide you in creating a smart camera project using the selected object detection model.
Beyond Broadway: The Sexy Off-Broadway Phenomenon "Sleep No More"
What is Philosophy?: Crash Course Philosophy #1
12 Players You Must Trade for Immediately | Week 4 Fantasy Football
Indila - Dernière Danse (Clip Officiel)
Most Subscribed YouTube Channels 2005 - 2023
What Is Sociology?: Crash Course Sociology #1