This solution can be applied to factory defect detection, medical image analysis, biological image analysis, industrial safety image analysis, mask image analysis, etc.
[Instructions]
1_annotation_pascal_voc_xml.ipynb
Open the marking software. Prepare a png or jpg image for annotation. It is recommended that the image has the same aspect ratio.
2_delete_log.ipynb
Delete the log folder, which is the record read by tensorboard during training.
3_prepare_train_txt.ipynb
Prepare a list of training images.
- image_path = "data/train/images": Training image path.
- txt = "data/train.txt": The output training image list.
4_prepare_val_txt.ipynb
To prepare the verification image list.
- image_path = "data / train / images": verification image path.
- txt = "data/train.txt": The output verification image list.
5_create_tfrecord.ipynb
First set the category name to data/labels.txt, the first category name is background, and the second and below are the category names of your samples.
The category name must be exactly the same as the category name when labeling.
Then, run this ipynb to convert the data in data/train and data/val into tensorflow's tfrecord format.
6_train.ipynb
Train the model.
--num_epochs=100000: The number of training periods. num_classes=3: Set the number of categories.
7_kill_tensorboard.ipynb
Release the tensorboard that is not in this training.
8_tensorboard.ipynb
Turn on tensorboard to display the loss curve and other related information during training.
9_inference.ipynb
Infer a picture.
--ckpt_path=model/efficientdet-d0-pcb : Inferred model.
--input_image_size=512 : Image size.
--input_image=data/test/images/capacitor1-4.png : Inferred images.
--num_classes=3 : The number of categories of the model.
10_inference_folder.ipynb
Infer the images in the folder.
--input_image=data/train/images/ : Inference folder.
11_inference_folder1.ipynb
Infer the images in the folder and calculate the correct rate.
Whether it is correct or not is to compare the detected category name with the image file name.
The image file name format is: category name-xxx.png.

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.
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.