Niv Sardi commited on
Commit
50a0ff5
1 Parent(s): d3fcc5e

update README

Browse files

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>

Files changed (2) hide show
  1. README.org +3 -7
  2. docker-compose.yaml +4 -2
README.org CHANGED
@@ -5,7 +5,7 @@ pages with =ssl certificates= that do not match.
5
 
6
  The process is pretty simple:
7
  - [1/2] scrape gvt websites to get a list of entities.
8
- - [x] 🇦🇷 BCRA ok
9
  - [ ] other countries
10
  - [x] get logos, names and url
11
  - [x] navigate the url, extract the ssl certificate and look for =img= and tags
@@ -13,12 +13,8 @@ The process is pretty simple:
13
  - [x] screenshot the page and slice it into tiles generating YOLO annotations for
14
  the detected logos
15
  - [x] augment data using the logos database and the logoless tiles as background images
16
- - [2/3] train YOLO
17
- - [x] v5
18
- - [x] v6
19
- . [ ] v7 (actually slower than v6)
20
- - [ ] feed everything to a web extension that will detect the logos in any page
21
- and show a warning if the =SSL certificate= mismatches the collected one.
22
 
23
  * running
24
  #+begin_src sh
 
5
 
6
  The process is pretty simple:
7
  - [1/2] scrape gvt websites to get a list of entities.
8
+ - [x] 🇦🇷 BCRA
9
  - [ ] other countries
10
  - [x] get logos, names and url
11
  - [x] navigate the url, extract the ssl certificate and look for =img= and tags
 
13
  - [x] screenshot the page and slice it into tiles generating YOLO annotations for
14
  the detected logos
15
  - [x] augment data using the logos database and the logoless tiles as background images
16
+ - [x] train yolov5s
17
+ - [x] feed everything to a web extension that will detect the logos in any page and show a warning if the =SSL certificate= mismatches the collected one. (this is actually a bit hacky, as yolov6 has A LOT of postprocessing and i can't be bothered to reimplement it all in JS for TSJS to work, it currently relies on a rather hackish local deamon written in python)
 
 
 
 
18
 
19
  * running
20
  #+begin_src sh
docker-compose.yaml CHANGED
@@ -16,8 +16,10 @@ services:
16
  - "./data:/app/data:z"
17
 
18
  geckodriver:
19
- image: docker.io/instrumentisto/geckodriver
20
- entrypoint: ["sh", "-c", "while true; do geckodriver --binary=/opt/firefox/firefox --log warn --port 4444 --host 0.0.0.0; sleep 2; done"]
 
 
21
  ports: # this is not required but nice for local debug
22
  - "4444:4444"
23
 
 
16
  - "./data:/app/data:z"
17
 
18
  geckodriver:
19
+ build:
20
+ dockerfile: Dockerfile.geckodriver
21
+ context: .
22
+ entrypoint: ["sh", "-c", "./poormans-nc.sh & while true; do geckodriver --binary=/opt/firefox/firefox --log warn --port 4444 --host 0.0.0.0; sleep 2; done"]
23
  ports: # this is not required but nice for local debug
24
  - "4444:4444"
25