Skip to content
Discussion options

You must be logged in to vote

ncnn 1.0.20260526 wheels have been published for Android and iOS. The whole engine ships statically inside a ~2MB wheel — no extra native libraries to worry about.

This opens the path to run real computer-vision models (YOLO detection, classification, segmentation) inside your Flet app, fully offline, on both Android and iOS.

Install

Just add it to your app's dependencies — flet build resolves mobile wheels automatically:

[project]
dependencies = ["flet", "ncnn"]

The workflow: export on desktop, run on device

You cannot run ultralytics/torch on the phone (ultralytics imports torch at module level, and torch has no mobile wheels yet). The good news: you don't need to. The split that the wh…

Replies: 5 comments 26 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ndonkoHenri
Comment options

Comment options

You must be logged in to vote
1 reply
@yst-one
Comment options

Answer selected by ndonkoHenri
Comment options

You must be logged in to vote
8 replies
@ndonkoHenri
Comment options

@yunguangli
Comment options

@yst-one
Comment options

@ndonkoHenri
Comment options

@yunguangli
Comment options

Comment options

You must be logged in to vote
16 replies
@ndonkoHenri
Comment options

@ndonkoHenri
Comment options

@yunguangli
Comment options

@yst-one
Comment options

@ndonkoHenri
Comment options

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