/[opencvs]/eyes/cyc.txt
ViewVC logotype

Annotation of /eyes/cyc.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Oct 6 06:46:38 2014 UTC (5 years, 4 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Added more stuff - just in case, the old_eyes is in /b/archive/2014

1 hib 1.1 export A="003|001"
2     export CHOICE=NONO
3     export FINAL_CHOICE=NONO
4     grep '^'$A ../source_frames.txt | \
5     awk -F '|' \
6     '{print "convert -size " $24 "x" $25 " xc:black -stroke white -fill white -draw '\''polygon " \
7     $14 "," $15 " " $16 "," $17 " " $20 "," $21 " " $18 "," $19 "'\'' a.png"}' | bash
8    
9     export RGB=`grep '^'$A ../source_frames.txt |awk -F '|' '{print $11 " " $12 " " $13 }'`
10    
11     cat ../s/choices.txt |bash multiproc.sh cyclone_pick a.png $RGB 2500 | sort | tee first.txt | head -100 | bash multiproc.sh cyclone_pick a.png $RGB 2500
12    
13     #Then you pick the best one.
14    
15    
16     export CHOICE=`head -1 |awk -F '_' '{print $4}'`
17     000000000000228023_397.000000_265.357565_b78cfa74dc892d322747b9cde3c58159.png_-178.289062_-131.708008_2.443923.png
18    
19    
20     grep -v $CHOICE <../s/choices.txt >l
21     mv l ../s/choices.txt
22    
23     rm 000*.png
24     echo $CHOICE | cyclone_pick a.png $RGB 100000 | sort | tee second.txt | head -50 | cyclone_pick a.png $RGB 100000
25    
26    
27     export FINAL_CHOICE=`awk -F '_' '{print $4 "|" $5 "|" $6 "|" $7; exit; }'`
28     000000000000239361_455.000000_179.822850_b78cfa74dc892d322747b9cde3c58159.png_-184.932617_-112.219727_2.189725.png
29    
30    
31     export FINAL_CHOICE=`echo $FINAL_CHOICE | sed 's/.png$//g'`
32    
33    
34     echo >>../s/final_frames.txt `grep '^'$A ../source_frames.txt`\|"$FINAL_CHOICE"
35    
36    
37     # remove a line from points.txt
38     rm *.png
39    

  ViewVC Help
Powered by ViewVC 1.1.26