如何从flutter发送图像base64到django服务器
有人可以帮我吗?我正在将图像从Flutter发送到Django
(python)服务器。在这里,我成功地从手机上拍摄了图像
相机/图库并成功将图像转换(编码)为
base64。
颤动码
Future classifyImage() async{
if(imageFile==null) return;
String base64Image = base64Encode(imageFile.readAsBytesSync());
String fileName = imageFile.path.split...