hourglasstensorflow icon indicating copy to clipboard operation
hourglasstensorflow copied to clipboard

How to display result

Open Crazod opened this issue 7 years ago • 2 comments

Hi I use this code in inference.py to detect human estimation

from inference import Inference
a = Inference()
a.webcamSingle()

but it seems that there are no results. I have used different pretained model . Can you give me an example how to use the inference.py?

I have also try the webcamYOLO and get the right results

Crazod avatar Dec 20 '17 02:12 Crazod

@Crazod Are you able to show me code you used to try webcamYOLO?

beckyng2194 avatar Jan 15 '18 19:01 beckyng2194

HI @beckyng2194 I add code at inference.py if __name__ == '__main__': params = process_config('config.cfg') dataset = DataGenerator(params['joint_list'], params['img_directory'], params['training_txt_file'], remove_joints=params['remove_joints']) infer = Inference() infer.webcamSingle() webcamYOLO is similiar

Crazod avatar Jan 19 '18 07:01 Crazod