JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
demo.py File Reference

Go to the source code of this file.

Namespaces

 demo
 

Functions

def demo.str2bool (v)
 
def demo.readImageFromDirectory (img_dir, w=128, h=256)
 
def 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 = []
 
def demo.results_vis = visualize(results, args.query_dir, args.gallery_dir)