Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
added searx.me and startpage as search engine
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhamTyagi committed Nov 10, 2019
1 parent 238e69f commit e94dc96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/ai/loko/hk/ui/services/OCRFloating.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ protected String doInBackground(Bitmap... bitmaps) {
coordinate[3] = height;
}
croppedGrayscaleImage = Bitmap.createBitmap(bitmaps[0], coordinate[0], coordinate[1], coordinate[2] - coordinate[0], coordinate[3] - coordinate[1]);

if (Data.GRAYSCALE_IAMGE_FOR_OCR) {
Log.d(TAG, "doInBackground: converting to grayscale");
croppedGrayscaleImage = Utils.convertToGrayscale(croppedGrayscaleImage);
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
<item>https://www.yandex.com/search/?text=</item>
<item>https://in.search.yahoo.com/search?p=</item>
<item>https://www.ask.com/web?q="</item>
<item>https://www.startpage.com/do/search?query=</item>
<item>https://searx.me/?q=</item>
<item>https://search.aol.com/aol/search;?q=</item>
<!--<item>https://en.wikipedia.org/wiki/Special:Search?search=</item>-->
<item>http://msxml.excite.com/search/web?q=</item>
Expand All @@ -77,6 +79,8 @@
<item>Yandex</item>
<item>Yahoo!</item>
<item>Ask.com</item>
<item>Start Page</item>
<item>SearX.me</item>
<item>Aol.com</item>
<!--<item>Wikipedia</item>-->
<item>Excite</item>
Expand Down

0 comments on commit e94dc96

Please sign in to comment.