зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-29 13:06:04 +02:00
update install branch (#51)
Этот коммит содержится в:
родитель
5d033479ce
Коммит
b0ae2f2c19
@ -36,7 +36,7 @@ There are sample notebooks in the `misinformation/notebooks` folder for you to e
|
||||
**You can run this notebook on google colab: [Here](https://colab.research.google.com/github/ssciwr/misinformation/blob/main/notebooks/get-text-from-image.ipynb)**
|
||||
Place the data files and google cloud vision API key in your google drive to access the data.
|
||||
1. Facial analysis: Use the notebook `facial_expressions.ipynb` to identify if there are faces on the image, if they are wearing masks, and if they are not wearing masks also the race, gender and dominant emotion.
|
||||
**You can run this notebook on google colab: [Here](https://colab.research.google.com/github/ssciwr/misinformation/blob/main/notebooks/facial_expressions.)**
|
||||
**You can run this notebook on google colab: [Here](https://colab.research.google.com/github/ssciwr/misinformation/blob/main/notebooks/facial_expressions.ipynb)**
|
||||
Place the data files in your google drive to access the data.**
|
||||
1. Object analysis: Use the notebook `ojects_expression.ipynb` to identify certain objects in the image. Currently, the following objects are being identified: person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, cell phone.
|
||||
|
||||
|
||||
2
notebooks/facial_expressions.ipynb
сгенерированный
2
notebooks/facial_expressions.ipynb
сгенерированный
@ -32,7 +32,7 @@
|
||||
" # install setuptools\n",
|
||||
" !pip install setuptools==61 -qqq\n",
|
||||
" # install misinformation\n",
|
||||
" !pip install git+https://github.com/ssciwr/misinformation.git@set-up-colab -qqq\n",
|
||||
" !pip install git+https://github.com/ssciwr/misinformation.git -qqq\n",
|
||||
" # mount google drive for data and API key\n",
|
||||
" from google.colab import drive\n",
|
||||
"\n",
|
||||
|
||||
4
notebooks/get-text-from-image.ipynb
сгенерированный
4
notebooks/get-text-from-image.ipynb
сгенерированный
@ -25,7 +25,7 @@
|
||||
" # install setuptools\n",
|
||||
" !pip install setuptools==61 -qqq\n",
|
||||
" # install misinformation\n",
|
||||
" !pip install git+https://github.com/ssciwr/misinformation.git@set-up-colab -qqq\n",
|
||||
" !pip install git+https://github.com/ssciwr/misinformation.git -qqq\n",
|
||||
" # mount google drive for data and API key\n",
|
||||
" from google.colab import drive\n",
|
||||
"\n",
|
||||
@ -117,7 +117,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"misinformation.explore_analysis(mydict, identify=\"text-on-image\", analyse_text=True)"
|
||||
"misinformation.explore_analysis(mydict, identify=\"text-on-image\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user