Skip to content

Commit b107904

Browse files
committed
Update README.md
1 parent 34e19c4 commit b107904

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# ReactNative-TIRAT
22
### Text in Image Recognition and Translation.
33

4-
TIRAT is a cross-platform multi-screen app which detects the text in an image and provides translations in different languages selected by the user.
4+
TIRAT is a cross-platform multi-screen app which detects the text in an image and provides translations in different languages selected by the user. Old Repo Link https://github.com/ThisIsNSH/OldTIRAT
55

66
### Screenshots
77

88
<img src="ss/ss1.png" width="25%"> <img src="ss/ss2.png" width="25%"> <img src="ss/ss3.png" width="25%"> <img src="ss/ss4.png" width="25%">
9-
<img src="ss/ss5.png" width="25%"> <img src="ss/ss6.png" width="25%"> <img src="ss/ss7.png" width="50%">
9+
<img src="ss/ss5.PNG" width="25%"> <img src="ss/ss6.PNG" width="25%"> <img src="ss/ss7.png" width="50%">
1010

1111
### Used
1212

components/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class Main extends Component {
4747
console.log(result);
4848

4949
if (!result.cancelled) {
50-
return fetch('https://vision.googleapis.com/v1/images:annotate?key=AIzaSyC0Ivg5CydfzOA0j8EMdwlA9coA33yft64', {
50+
return fetch('https://vision.googleapis.com/v1/images:annotate?key=', {
5151
method: 'POST',
5252
headers: {
5353
'Content-Type': 'application/json'

components/translation/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default class Translation extends Component {
4545
return fetch('https://gateway-lon.watsonplatform.net/language-translator/api/v3/identifiable_languages?version=2018-05-01', {
4646
method: 'GET',
4747
headers: {
48-
'Authorization': 'Basic YXBpa2V5OndvSFF1MERhalpsOFFQc3FaUGF3OU92N080d2I4MmJVeXVPb0dMR0VwMFBh'
48+
'Authorization': 'Basic '
4949
}
5050
}).then((response) => response.json())
5151
.then((responseJson) => {
@@ -68,7 +68,7 @@ export default class Translation extends Component {
6868
return fetch('https://gateway-lon.watsonplatform.net/language-translator/api/v3/translate?version=2018-05-01', {
6969
method: 'POST',
7070
headers: {
71-
'Authorization': 'Basic YXBpa2V5OndvSFF1MERhalpsOFFQc3FaUGF3OU92N080d2I4MmJVeXVPb0dMR0VwMFBh',
71+
'Authorization': 'Basic ',
7272
'Content-Type': 'application/json'
7373
}, body: JSON.stringify({
7474
text: this.state.text,

0 commit comments

Comments
 (0)