This is an exciting and innovative project that was developed to identify objects in an image. In this README you will find all the information you need to understand and start contributing to the project.
An application that recognizes objects or items in an image based on an AI model from Clarifai.
- [ ✅ ] Get image from gallery
- [ ✅ ] Send selected image to Clarifai API
- [ ✅ ] Process the API response and list the Items
- Translate items into another language
The project was developed using the following technologies:
- Programming Language: Typescript
- React Native with Expo
- Clarifai API using the model general-image-recognition
This guide is designed to help you set up and run the Landing Page on your local machine for development and testing purposes.
Before starting the installation process, make sure you have the following tools installed on your system:
- Node.js (versão 12 ou superior)
- Expo CLI
npm install -g expo-cli
To configure the local development environment, follow the steps below:
- Clone this repository to your local machine.
git clone https://github.com/arnaldoucuassapi/image-item-recognizer.git
- Install the required dependencies.
cd image-item-recognizer
npm install
- Run the development server:
npm run start
# or
yarn start
# or
pnpm start
- Configure environment variables
Create an .env file in the root of the project and set the following environment variables:
EXPO_PUBLIC_PAT = "your_clarifai_pat"
EXPO_PUBLIC_USER_ID = "your_clarifai_user_id"
EXPO_PUBLIC_APP_ID = "your_clarifai_app_id"
EXPO_PUBLIC_MODEL_ID = "your_clarifai_model_id"
EXPO_PUBLIC_MODEL_VERSION_ID = "your_clarifai_model_version_id"
Open the application Expo Go in your device and scan the QR code to see the result.
Make sure you have the correct versions of technologies and dependencies installed to avoid compatibility issues.
If you want to contribute to the project, please follow the steps below:
- Fork this repository and clone it to your local machine.
git clone https://github.com/arnaldoucuassapi/image-item-recognizer.git
- Create a branch for your contribution.
git checkout -b minha-contribuicao
- Make the necessary changes and commit them.
git commit -m "Descrição das alterações"
- Push the changes to your fork repository.
git push origin minha-contribuicao
- Open a pull request on this repository and wait for your contribution to be reviewed and approved.
I hope you enjoy the project and I look forward to receiving your contributions!