<< 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
Previous revision
wiki:object_detector_app [2023/01/19 13:00]
vizycam [Getting started]
wiki:object_detector_app [2023/05/09 16:27] (current)
vizycam
Line 2: Line 2:
  
 ===== Overview ===== ===== Overview =====
 +
 +{{https://​vizycam.com/​wp-content/​uploads/​2023/​03/​object_detector720.mp4||loop,​autoplay}}
  
 The Object Detector is an application that detects objects, logs the detections, and texts you when it detects objects that you are interested in.  It also is a studio that you can use to create custom CNN's (convolutional neural networks) to detect practically anything you want using deep-learning training techniques.  ​ The Object Detector is an application that detects objects, logs the detections, and texts you when it detects objects that you are interested in.  It also is a studio that you can use to create custom CNN's (convolutional neural networks) to detect practically anything you want using deep-learning training techniques.  ​
Line 298: Line 300:
   - **Import album pictures into your Object Detector project**. ​ This will copy the images in the Google Photos album into the training set of the currently open project. ​ Start by selecting **Import photos...** from the **File** menu, then type the name of the album into the text box as shown below. \\ \\ {{wiki:​image_1410.jpg?​400}} \\ \\ After clicking on **Import**, Vizy will locate the album, retrieve the images, and add them to the end of the training set.  So after it's done, go to the last page(s) of the training set to see the imported images. ​ Bear in mind that the album name is case-sensitive. ​ If Vizy has trouble finding the album, make sure you can see the album from the Google Photos page while logged in via Vizy's Google account. ​ Once the images are imported, you can [[wiki:​object_detector_app_3#​labeling|label them]] as before. ​ Easy-peasy! ​   - **Import album pictures into your Object Detector project**. ​ This will copy the images in the Google Photos album into the training set of the currently open project. ​ Start by selecting **Import photos...** from the **File** menu, then type the name of the album into the text box as shown below. \\ \\ {{wiki:​image_1410.jpg?​400}} \\ \\ After clicking on **Import**, Vizy will locate the album, retrieve the images, and add them to the end of the training set.  So after it's done, go to the last page(s) of the training set to see the imported images. ​ Bear in mind that the album name is case-sensitive. ​ If Vizy has trouble finding the album, make sure you can see the album from the Google Photos page while logged in via Vizy's Google account. ​ Once the images are imported, you can [[wiki:​object_detector_app_3#​labeling|label them]] as before. ​ Easy-peasy! ​
  
-===== Importing, ​Exporting, and sharing Object Detector projects =====+===== Importing, ​exporting, and sharing Object Detector projects =====
  
 Through the powers of the Internet (and Google Drive), you can export your project and share your CNN efforts with others. ​ And they can import your project to evaluate, improve, and share it back with you and possibly others. ​ When exporting a project, all of the training set images, models, and settings are zipped up and uploaded to Google Drive. ​ (Note, the detection images are not included when you export a project.) Through the powers of the Internet (and Google Drive), you can export your project and share your CNN efforts with others. ​ And they can import your project to evaluate, improve, and share it back with you and possibly others. ​ When exporting a project, all of the training set images, models, and settings are zipped up and uploaded to Google Drive. ​ (Note, the detection images are not included when you export a project.)
Line 308: Line 310:
 {{wiki:​image_1413.jpg?​400}} {{wiki:​image_1413.jpg?​400}}
  
-Below is a share key for our rock paper scissors project. ​ **Copy and paste it to give it a try on your Vizy!**+Below is a share key for our rock paper scissors project. ​ **Copy and paste it to give it a try!**
  
 ''​VWyJPRFBHIiwgInJvY2sgcGFwZXIgc2Npc3NvcnMiLCAiMXpDc2c4aVlIVkpaSk53a0xIeTlPdmJvcjJKaWFjYURlIl0=V''​ ''​VWyJPRFBHIiwgInJvY2sgcGFwZXIgc2Npc3NvcnMiLCAiMXpDc2c4aVlIVkpaSk53a0xIeTlPdmJvcjJKaWFjYURlIl0=V''​
Line 358: Line 360:
  
  
-===== 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.1674154836.txt.gz ยท Last modified: 2023/01/19 13:00 by vizycam