Skip to content

ommahale/Fish-freshness-recognition-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fish-freshness-recognition-application

Fish freshness detection application using yolo V2 and Flutter

Prerequisites:

  • Flutter
  • FastAPI
  • Tensorflow

Project Structure:

This project has two directories:

  1. Application: Here all the files for flutter native application are stored. In order to run the application type
flutter run

in terminal while being in the aqua-vision directory and with appropriate simulator/emulator/USB-debugging configured

  1. API: Here all the files for API are stored. In order to run the API first install al the packages in requiremets.txt. Now in the API directory type uvicorn main:app --reload in terminal. Now the API is up and running. In order to access it simply open the localhost:8000 in your browser. In order to access API through Swagger UI open localhost:8000/docs

How to run the project:

In order to run the project first make sure that you have enabled chrome port forwarding in your browser. This will help our local device connected via USB to access the PC localhost where our API will be running. If not enabled follow the following steps:

  • Go to chrome inspect panel and click on poert forwarding.
  • In the enabled sockets section enter port no 8000 and 127.0.0.1:8000 in IP:port section and check the enable port forwarding field.
  • Wait for the prot to connect to the device Now that our device can access the localhost we can proceed to run the application.

    Type flutter run in terminal or press f5 key to run the application in debug mode. The output of the data recieved form the api after the image has beeen selected will be displayed on the debug console.

Dependencies used:

For flutter

http: ^0.13.5
image_picker: ^0.8.6
dio: ^4.0.6

For python

anyio==3.6.2
click==8.1.3
colorama==0.4.6
fastapi==0.88.0
h11==0.14.0
idna==3.4
multipart==0.2.4
pydantic==1.10.2
sniffio==1.3.0
starlette==0.22.0
typing_extensions==4.4.0
uvicorn==0.20.0
anyio==3.6.2
click==8.1.3
colorama==0.4.6
fastapi==0.88.0
h11==0.14.0
idna==3.4
multipart==0.2.4
pydantic==1.10.2
sniffio==1.3.0
starlette==0.22.0
typing_extensions==4.4.0
uvicorn==0.20.0

About

Firsh freshness detection application using yolo V2 and Flutter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •