Yolov5 + React #2738
-
I would like to know if it is possible to integrate a model (.pt) created using Yolov5 into a react project. My group is preparing a landing page for a product that uses object recognition as one of the features and I would like to know how can I make the link in between the created model and react. Any help on the deployment of a model is also very welcome since I have never deployed one yet. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
@alessandrogpz hi buddy. You're looking for Tensorflow.js https://www.tensorflow.org/js. You'd want to do a TF js export of a small model like YOLOv5s and then you can cache and run the model in the browser on the user's local resources. The best resource for getting started with YOLOv5 TF is PR #1127 |
Beta Was this translation helpful? Give feedback.
-
Hi, would the steps be similar for integrating the yolov5 model into react-native app? Me and my group is developing a cross-platform app for car detection for our school's senior year project. I have been custom training the model on Colab. Any suggestions and help would be highly appreciated! |
Beta Was this translation helpful? Give feedback.
@alessandrogpz hi buddy. You're looking for Tensorflow.js https://www.tensorflow.org/js.
You'd want to do a TF js export of a small model like YOLOv5s and then you can cache and run the model in the browser on the user's local resources.
The best resource for getting started with YOLOv5 TF is PR #1127