Skip to content

smileformylove/Post-disaster-rescue-assessment-support-system

Repository files navigation

Post-disaster-rescue-assessment-support-system

IBM Call For Code 2019 in Shanghai. We (Jin Li, Yaoming Wang, Bowen Shi, Jixiang Luo) join this activity and make up this idea.

Notice:

Since images or videos of post disaster are unaccessible for us by now, our models was trained with weakly related dataset. Thus, the performance of our model are uncertained. We use labeled image as the result of semantic segmentation model for the sake of presentation.

Object Detection

In this section, What we do is just collecting the related images with dangerous objects, such as leakage wire, sharp item, corrupted house and so on. Then we feed them into the Watson for visual recognition on IBM cloud. Here is our outcome for classifying images and detecting objects:

  • Image classification:

avatar

For now, we have not trained the whole model of object detection, we just divde the input image into serveral pieces. And then we classify each piece and label the object, at last merge these pieces. Here are our examples for detection: avatar avatar

More details is here!

Semantic Segmentation:

Details for this part could see here!.

Path Programming:

Example

cd workspacce
  • Image captured by drone: avatar

  • Result of semantic segmentation: avatar

python ss-bmp.py
  • Convert semantic picture to bitmap: avatar
matlab
astart
  • Bitmap with random sign: avatar

  • The optimal path from source point to destination: avatar

Other Backup Codes:

  • create_mask: Creat 0/1 mask for the initial picture.

  • color.py: Color the 0/1 mask for demonstration.

  • dfs-construction: Use dfs to create road maps and the weights of roads on the basic of 0/1 mask. (But this code is very time-consuming)

  • generate_graph.py: Quickly generate road maps for demonstration. (But can not get here ):.)

  • floyd-optimized_path: Use floyd algorithm to get final route planning.

About

IBM Call For Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published