Added Object Detection with Hugging Face from Node.js to Python #323
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Main Contributor: Waterberry71 (Jacob)
The node.js versions are using image classification methods and labels instead of proper object detection format
What does this PR do?
This PR adds a new template for "Object Detection with Hugging Face" which has python and node.js support now.
The Main Package includes:
My Setup file
My AppwriteService file
My Main File
Added Utility File
Outside of the Main Process
My Test Plan
Install Dependencies
pip install appwrite
pip install huggingface_hub
pip install python-dotenv
Run Docker for Appwrite on terminal within the parent directory of that template
cd python/speech_recognition_with_huggingface
Source: https://appwrite.io/docs/advanced/self-hosting
docker run -it --rm
--volume /var/run/docker.sock:/var/run/docker.sock
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
--entrypoint="install"
appwrite/appwrite:1.6.0
For replication purposes, make sure to use Default Recommendations when you see like (port 80, port 443, localhost, etc)
After installation, use port 80 for example to sign up and create an account
Retrieve your project id and key only
Environment Setup
Objective: Ensure all environment variables are correctly set.
Use this request to execute main.py in order to get things running
Mock Test for this template (WIP)
#Test (Completed):#
My Test Image File:
Successful Results:
Have you read the Contributing Guidelines on issues?
Yes I did.
Resources
For the team, created my cited guide for navigating how to run Appwrite locally:
https://docs.google.com/document/d/1uPj4TdY5sdGFFG8uy-g47OhRXsYx1DoBchHDZu6cM2E/edit?usp=sharing