<< return to Vizycam.com

User Tools

Site Tools


wiki:object_detector_app

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:object_detector_app [2023/01/19 13:31]
vizycam
wiki:object_detector_app [2023/01/19 13:32]
vizycam
Line 358: Line 358:
  
  
-===== Using custom CNN's in other programs =====+===== Using your custom CNN's in other programs =====
  
 The projects for Object Detector are located in ''/​home/​pi/​vizy/​etc/​object_detector/''​. ​ Within this directory are the project directories -- one for each project, and within each project directory are the two files: ''<​project name>​.tflite''​ and ''<​project name>​.json''​. ​ These files are the latest CNN model version for this project. ​ You can run these files on other generic Raspberry Pis, or you can export them to AI accelerators such as [[https://​coral.ai/​products/​|Coral]] or [[https://​www.canaan.io/​product/​kendryteai|Kendryte]] using a TensorFlow Lite compiler. ​ Or you can use them in other Vizy programs that use TensorFlow, like the Vizy Tflite example. ​ You would only need to change a single line of code (where the Tflite detector is instantiated) to use the desired CNN model instead of the default common objects model, as shown below. ​ The projects for Object Detector are located in ''/​home/​pi/​vizy/​etc/​object_detector/''​. ​ Within this directory are the project directories -- one for each project, and within each project directory are the two files: ''<​project name>​.tflite''​ and ''<​project name>​.json''​. ​ These files are the latest CNN model version for this project. ​ You can run these files on other generic Raspberry Pis, or you can export them to AI accelerators such as [[https://​coral.ai/​products/​|Coral]] or [[https://​www.canaan.io/​product/​kendryteai|Kendryte]] using a TensorFlow Lite compiler. ​ Or you can use them in other Vizy programs that use TensorFlow, like the Vizy Tflite example. ​ You would only need to change a single line of code (where the Tflite detector is instantiated) to use the desired CNN model instead of the default common objects model, as shown below. ​
wiki/object_detector_app.txt ยท Last modified: 2023/05/09 16:27 by vizycam