Skip to content

Instantly share code, notes, and snippets.

@ShreyAmbesh
Last active April 1, 2020 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShreyAmbesh/3d92e219d8b11f98b348e86ce4ac9ef3 to your computer and use it in GitHub Desktop.
Save ShreyAmbesh/3d92e219d8b11f98b348e86ce4ac9ef3 to your computer and use it in GitHub Desktop.

SCoRe Lab Contributions

  • Object Detection Feature This PR has more than 1600 lines of code and it adds the feature to make an object detection request and then display the results in the app. The history section displays the classification and object detection and gives an option to toggle between the two using a button.

  • Option For compress And Then Upload Image (MERGED) This feature gives the user an option to upload the image for classification by first compressing the image which makes the upload faster and even fetching of the image faster and UI smooth. I used the flutter_image_compress package which uses the native methods of both iOS and android to compress the image as the dart plugin is not very efficient and encounters bugs.

  • Project Searching Feature It helps the user to search for a project by mentioning any keyword that may be present in the title or description of the project. I used the SearchDelegate class in Flutter by extending it and searching for the typed keyword in the name and description of all the projects and displaying the list of projects that have the keyword.

  • Search Classifications According To Labels This feature lets the user search for a classification that has a particular label by specifying a keyword of the label. I used the SearchDelegate class in Flutter by extending it and searching for the typed keyword in the list of labels for each classification and if any one of the labels contains the keyword then we display that classification in the search result.

  • Bug Fix For Image Upload Using Camera A bug used to be encountered whenever trying to upload an image directly using camera. I fixed it in this pull request

  • Fixed the Error [ERR_HTTP_HEADERS_SENT] Fix for the error that used to come when a request was made to an endpoint which doesn't exist.

  • Added Confidence Field In Classification Confidence Field was missing in the classification. Added it to the app and the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment