2 # Pre-Setup (Before Application Integration)
3 Step 1: docker login to akraino dockerhub
4 username/pwd - ealtedge/Huawei_akraino
9 docker pull ealtedge/pcbdefdet-be
10 docker pull ealtedge/pcbui
13 Step 2: pretrained model for defect detection
14 - copy pretrained model to Host machine where PCB containers are running
15 1. cloen model from gitlab git clone https://gitlab.com/gauravagrawal/ealtedge/-/tree/master/PCB-Def-Det-Models
16 2. create folder /root/pcb-def-det/model in host machine.
17 3. scp all files in models cloned to above path.
19 Step 3: iput images for defect detection
20 - image are copied to container images currently. if want to use different image, need to follow below steps
21 1. download application code and go example-apps/PDD/pcb-defect-detection/input_image
22 2. copy the input image to one of folder.
23 3. build the docker "docker build -t ealtedge/pcbdefdet-be ." and push to docker hub
24 4. now new images will be avaible in container for detection
25 5. in future this can be enhance to feed from UI
28 - Check that ports are not already occupied
29 - UI running on "30002" node port of VM where containers are running.