X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FPDD%2Fdeployment%2Fsetup.md;fp=example-apps%2FPDD%2Fdeployment%2Fsetup.md;h=b19a298aaa227255ae2f9c5d48fc4a2a6272ba2f;hb=7dc9d0d21fcea06db22e56d09b7535cedefe92b7;hp=0000000000000000000000000000000000000000;hpb=a785567fb9acfc68536767d20f60ba917ae85aa1;p=ealt-edge.git diff --git a/example-apps/PDD/deployment/setup.md b/example-apps/PDD/deployment/setup.md new file mode 100644 index 0000000..b19a298 --- /dev/null +++ b/example-apps/PDD/deployment/setup.md @@ -0,0 +1,29 @@ + +# Pre-Setup (Before Application Integration) +Step 1: docker login to akraino dockerhub +username/pwd - ealtedge/Huawei_akraino + +or + +pull images manually +docker pull ealtedge/pcbdefdet-be +docker pull ealtedge/pcbui + + +Step 2: pretrained model for defect detection +- copy pretrained model to Host machine where PCB containers are running + 1. cloen model from gitlab git clone https://gitlab.com/gauravagrawal/ealtedge/-/tree/master/PCB-Def-Det-Models + 2. create folder /root/pcb-def-det/model in host machine. + 3. scp all files in models cloned to above path. + +Step 3: iput images for defect detection +- image are copied to container images currently. if want to use different image, need to follow below steps + 1. download application code and go example-apps/PDD/pcb-defect-detection/input_image + 2. copy the input image to one of folder. + 3. build the docker "docker build -t ealtedge/pcbdefdet-be ." and push to docker hub + 4. now new images will be avaible in container for detection + 5. in future this can be enhance to feed from UI + +- Some Pre-Checks + - Check that ports are not already occupied + - UI running on "30002" node port of VM where containers are running.