Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I verify my Android phone is connected and authorized?
Enable Developer options and USB debugging, then run adb devices -l. The output should list the device with its serial and show it as authorized. If it reports unauthorized, unlock the phone and accept the debugging prompt. On Windows, you might also need the phone manufacturer’s USB driver.
How does the project obtain the JDK 17 build toolchain?
Your installed java and javac commands must report JDK 17 or later so that Gradle can start. The project configures Gradle to use a compatible JDK 17 build toolchain and download one automatically when it isn’t already available.
How do I run MobileSAM on the Android phone?
Download mobile_sam_raspberry_executorch_optimized.pte. Copy it into the directory named by the MobileSAM catalog entry under application-private storage, then start Image Analysis. Select Load model, choose an image, and select Run segmentation to generate the mask.
What confirms that MobileSAM produced a valid result?
Check that the application displays a translucent cyan mask over a plausible object boundary. Confirm that Image Analysis reports finite intersection over union (IoU), coverage, and logit values. Run a second image and confirm that the mask changes with the input.
Can Image Analysis run another model without code changes?
Image Analysis already includes validated ExecuTorch adapters for MobileSAM and Depth Anything V2. Another model needs a compatible catalog entry and a model-specific adapter. The included LiteRT and ONNX adapter files are stubs that need implementation and device validation before use.

Share

Tell others about this Learning Path.

Return to Mobile, Graphics, and Gaming