Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensorflow Inference over satellite image tiles #126

Open
Geo-Trackers opened this issue Dec 28, 2018 · 3 comments
Open

Tensorflow Inference over satellite image tiles #126

Geo-Trackers opened this issue Dec 28, 2018 · 3 comments

Comments

@Geo-Trackers
Copy link

Hello Everyone,

I want to detect brick-kilns in satellite imagery. I trained my model using Tensorflow object detection API. Now, I want to run inference over my satellite image tiles. I want to use gdaltools to generate image tiles and run inference over each tiles, and stich them back together for visualization over the large area of satellite imagery? Also, if my brick kiln falls in two image tiles, will the script tf_od_predict.py compute non-maximum suppression and get rid of low probability predictions, while i stich the images tiles back together.
Thank you. I look forward to hear from you.

@drewbo
Copy link
Contributor

drewbo commented Jan 2, 2019

Hi @Geo-Trackers. The tf_od_predict.py script runs on a per tile basis so it won't deduplicate predictions between two tiles. Hope that helps

@Geo-Trackers
Copy link
Author

Does that mean I can run inference on per tile basis, and merge all tiles as a web map service to view my predictions with ease using the script?

Thank you for trying to clear the confusion. I really appreciate it.

Best
Suman

@Geoyi
Copy link
Contributor

Geoyi commented Jan 3, 2019

You're right here, @Geo-Trackers. However, a large object may cross two tiles or more tiles so can write a utility function to get rid of bounding boxes that overlap by 75% threshold for instance. But I will recommend you to test with different threshold base on your case and object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants