Package 'ORTSC'

Title: Connects to Google Cloud API for Label Detection
Description: Connects to Google cloud vision <https://cloud.google.com/vision> to perform label detection and repurpose this feature for image classification.
Authors: Mohamed Soudy [aut, cre], Yasmine Afify [aut], Nagwa Badr [aut]
Maintainer: Mohamed Soudy <[email protected]>
License: GPL-3
Version: 1.0.0
Built: 2025-02-12 02:39:21 UTC
Source: https://github.com/mohmedsoudy/ortsc

Help Index


Connects to Google Cloud API for user-authentication

Description

This function can be used to authenticate users

Usage

authenticate(googleAuthR.client_id, googleAuthR.client_secret)

Arguments

googleAuthR.client_id

Client id provided by Google API cloud service

googleAuthR.client_secret

Client secret provided by Google API cloud service

Value

a vector of objects

Author(s)

Mohmed Soudy [email protected], Yasmine Afify [email protected], and Nagwa Badr [email protected]


Indoor and Outdoor class weights

Description

A dataset containing the objects and its In-door and Out-door weights. The variables are as follows:

Usage

data(ClassLogic)

Format

A data frame with 20 rows and 3 variables

Details

  • Object. object name

  • Class. class of data (Indoor, Outdoor)

  • Weight. Classification weight (0–1)


Connects to Google Cloud API label detection and perform multiple object detection

Description

This function can be used to classify image based on objects detected

Usage

GetLabels(ImagePaths)

Arguments

ImagePaths

vector of complete image's paths

Value

a vector of objects

Author(s)

Mohmed Soudy [email protected], Yasmine Afify [email protected], and Nagwa Badr [email protected]