diff --git a/README.md b/README.md index 14e3f01..b058828 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/notebooks/facial_expressions.ipynb b/notebooks/facial_expressions.ipynb index fb632e0..dfd42f6 100644 --- a/notebooks/facial_expressions.ipynb +++ b/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", diff --git a/notebooks/get-text-from-image.ipynb b/notebooks/get-text-from-image.ipynb index 136e627..32e8922 100644 --- a/notebooks/get-text-from-image.ipynb +++ b/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\")" ] }, {