[MYAI Studio SDK] Image-Human-Pose-PyTorch-Jupyter

Applied to human body posture detection, it can detect the position of people's eyes, nose, ears, neck, shoulders, elbows, wrists, hip joints, knee joints, and ankles.

[Instruction]

The solution process is:

Prepare dataset -> Generate files needed for training -> Training -> Use various methods to infer

The dataset used is the dataset of coco2017.

1. 1_prepare_train_labels.ipynb

After execution, the pkl file required for training will be generated.

parameter:

--labels: dataset object keypoints format json label file.

--output-name: output the pkl file for training.

supplement:

If you want to use your own dataset, please note that the label file must be a json file in object keypoints format. The name of the label  file in the object keypoints format in the train/annotations folder must be "person_keypoints_train.json", and the name of the label  file in the object keypoints format in the val/annotations folder must be "val.json".

2. 2_train.ipynb

Training the coco2017 dataset.

parameter:

--train-images-folder: the folder location of training images.

--prepared-train-labels: the pkl label file for training, which is generated after running 1_prepare_train_labels.ipynb.

--val-labels: the object keypoints format json label file of the test image

--val-images-folder: the folder location of test images.

--checkpoint-path: pretrained model file location

3. 3_inference.ipynb

Infer an image and mark the position of the human body and the position of the joints.

parameter:

--images-folder: infer the location of the images.

--checkpoint-path: training model location.

human pose.png

4. 4_inference_folder.ipynb

Infer all the images in the folder, mark the position of the human body and the position of the joints.

parameter:

--images-folder: infer the location of the image folder.

--checkpoint-path: training model location.

5. 5_inference_webcam.ipynb

Infer the webcam image and mark the position of the human body and the position of the joints.

parameter:

--checkpoint-path: training model location.

--video: the specified webcam device.

This SDK is built in AppForAI - AI Dev Tools.

Purchase license separately: USD 600, permanent authorization, single APP authorization, single machine authorization, one-year activation, one-year download, one-year update, one-year email technical support.

Further Reading

1.
MYAI Studio for Windows

2.
MYAI Studio for Linux

3.
AI PC

Thanks for the support from our clients

National Taiwan University, National Tsing Hua University, National Yang Ming Chiao Tung University, National Cheng Kung University, Taipei Medical University, Kaohsiung Medical University, National Taipei University of Nursing and Health Sciences, China Medical University, National Chung Hsing University, National Central University, National Sun Yat-sen University, National Chung Cheng University, National Chi Nan University, National Chiayi University, National Ilan University, National Taipei University of Education, National United University, Tamkang University, Feng Chia University, Chang Gung University, I-Shou University, Shih Chien University, Tatung University, Chung Yuan Christian University, Soochow University, Tzu Chi University, Tzu Chi University of Science and Technology, National Taiwan University of Science and Technology, National Taipei University of Technology, National Taichung University of Science and Technology, National Yunlin University of Science and Technology, National Chin-Yi University of Technology, National Formosa University, National Pingtung University of Science and Technology, National Kaohsiung University of Science and Technology, Chaoyang University of Technology, Ming Chi University of Technology, Minghsin University of Science and Technology, Southern Taiwan University of Science and Technology, Asia Eastern University of Science and Technology, China University of Technology, National Taiwan Sport University, National Defense University, Republic of China Naval Academy, Republic of China Army Academy, Luodong Senior High School, Gushan Senior High School, Kaohsiung Girls Senior High School, National Taiwan University Hospital, National Cheng Kung University Hospital, Taipei Veterans General Hospital, Chang Gung Memorial Hospital, Tzu Chi Hospital, E-Da Hospital, Far Eastern Memorial Hospital, Lien Hsin International Hospital, National Chung-Shan Institute of Science and Technology, Armaments Bureau, Ministry of National Defense, Ministry of Justice Investigation Bureau, Industrial Technology Research Institute, Institute for Information Industry, Institute of Nuclear Energy Research, Atomic Energy Council, Endemic Species Research Institute, Council of Agriculture, Institute of Labor, Occupational Safety and Health, Ministry of Labor, Taiwan Textile Research Institute, Metal Industries Research & Development Centre, Taiwan Instrument Research Institute, Automotive Research & Testing Center, Chunghwa Telecom, Taiwan Water Corporation, Taiwan Semiconductor Manufacturing Company, United Microelectronics Corporation, Nanya Technology Corporation, Winbond Electronics Corporation, Wafer Works Corporation, Grandtop Optoelectronics, AU Optronics, Innolux Corporation, HannStar Display Corporation, Formosa Plastics Corporation, Formosa Petrochemical Corporation, Formosa Technologies Corporation, Nan Ya Plastics Corporation, Formosa Chemicals & Fibre Corporation, CPC Corporation, Taiwan, Logitech, Elan Microelectronics Corporation, Lextar Electronics Corporation, Darfon Electronics Corporation, Sercomm Corporation, EZconn Corporation, Foxconn Technology Group, WPG Holdings, World Peace Industrial Co., Ltd., Mirle Automation Corporation, Shuttle Machinery Co., Ltd., ChipMOS Technologies Inc., Simplo Technology Co., Ltd., Primax Electronics Ltd., Intesys Technology, Feng Hsin Iron & Steel Co., Ltd., China Ecotek Corporation, Zhu Sheng Technology, Advantech Co., Ltd., Stark Technology Inc., Hong Teng Technology, MiTAC International Corp., SYNNEX Technology International Corp., Allion Labs, Inc., Co-in International, Feng An Auto, Hong Hu International, Blue Ocean Intelligence, TOPPAN IDGATE Co., LTd., Far EasTone Telecommunications, SYSTEX Corporation, Cooler Master, Lion Travel, Beigang Wude Temple, Xiluo Fuxing Temple, etc.