Skip to content

Latest commit

 

History

History

camouflage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Edge TPU Camouflage PyCamera

Image

Download model

Using the Edge TPU pre-trained model.
Download SSD MoblieNet v1 coco or SSD MoblieNet v2 coco model.
See Coral Models.

Usage

$ python3 ./camouflage_picamera.py --model=<PATH_TO_edgetpu.tflite> --label=./label.txt

  • Space key: toggle detection and camouflage.
  • q key: End app.

Option

  • top_k: The maximum number of detected objects to return (DetectWithImage).
  • threshold: Minimum confidence threshold for detected objects (DetectWithImage).
  • width: Width of the frames in the camera stream.
  • height: Height of the frames int the camera stream.

If you want to change the object you want to camouflage

You can change the target object by changing the label.txt file.
Default is banana(40 banana).
Select the target object from the coco label(index and name). Or use the model you created.