Coder Social home page Coder Social logo

image_classifier_template's People

Contributors

justrox avatar llsourcell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

image_classifier_template's Issues

please send me java code of this dart code

void upload(File imageFile) async {
var stream =
new http.ByteStream(DelegatingStream.typed(imageFile.openRead()));
var length = await imageFile.length();

String base =
    "https://your-render-app.onrender.com";

var uri = Uri.parse(base + '/analyze');

var request = new http.MultipartRequest("POST", uri);
var multipartFile = new http.MultipartFile('file', stream, length,
    filename: basename(imageFile.path));
//contentType: new MediaType('image', 'png'));

request.files.add(multipartFile);
var response = await request.send();
print(response.statusCode);
response.stream.transform(utf8.decoder).listen((value) {
  print(value);
  int l = value.length;
  txt = value;

  setState(() {});
});

}

Windows users can not create `com2` directory. It is reserved by the system

I don't know if it is important or not. I'm just started to investigate...
But this path is not valid for Windows android/app/src/main/java/com2/, because the com2 word is reserved by Windows operating system.

Well, it is example file MainActivity.java there. So I don't think it is important for the project.

However, there is an error during the unzip of saved ZIP project on Windows systems. Thus I thought that archive is corrupted.

Please, rename com2 directory or delete it from the project.

Flutter FloatingActionButton are overlapping

Two Flutter buttons named FloatingActionButton are overlapping when the screen is horizontal.

It was difficult to fix it in main.dart file because I've not worked with Flutter before.

      floatingActionButton: Align(
          // Align two buttons to right. Alignment to bottom doesn't work.
          alignment: Alignment(1.0, 0),
          child: Column(
            // Align two buttons to bottom. There is no alignment to right.
            mainAxisAlignment: MainAxisAlignment.end,
            children: [
              Padding(
                // Set padding between buttons
                padding: const EdgeInsets.only(bottom: 10.0),
                // Use camera button
                child: FloatingActionButton(
                  onPressed: (){
                    image_picker(0);
                  },
                  child: new Icon(Icons.camera_alt),
                ),
              ),
              // Upload image button
              FloatingActionButton(
                  onPressed: (){
                    image_picker(1);
                  },
                  child: new Icon(Icons.file_upload)
              )
            ],
          ),
      ),

P.S. My version of your starup is here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.