JeVoisBase  1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches
demo.py File Reference

Go to the source code of this file.

Namespaces

namespace  demo
 

Functions

 demo.str2bool (v)
 
 demo.readImageFromDirectory (img_dir, w=128, h=256)
 
 demo.visualize (image, result, weight=0.6, fps=None)
 

Variables

 demo.net = YoutuReID(modelPath=args.model, backendId=args.backend, targetId=args.target)
 
 demo.query_img_list
 
 demo.query_file_list
 
 demo.gallery_img_list
 
 demo.gallery_file_list
 
 demo.topk_indices = net.query(query_img_list, gallery_img_list, args.topk)
 
list demo.topk_matches = []
 
 demo.results_vis = visualize(results, args.query_dir, args.gallery_dir)