<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="showcameras.xsl" ?>
<!--
    License: CC-BY-SA 3.0

    This work is licensed under a 
    Creative Commons Attribution-ShareAlike 3.0 Unported License. 

    See more at:
    http://creativecommons.org/licenses/by-sa/3.0/
-->

<!DOCTYPE Cameras [
<!ELEMENT BlackAreas ( Vertical?, Horizontal? ) >

<!ELEMENT Camera ( CFA?, Crop, Sensor+, BlackAreas?, Aliases?, Hints? ) >
<!ATTLIST Camera make CDATA #REQUIRED >
<!ATTLIST Camera model CDATA #REQUIRED >
<!ATTLIST Camera supported CDATA #IMPLIED >
<!ATTLIST Camera mode CDATA #IMPLIED >
<!ATTLIST Camera decoder_version CDATA #IMPLIED >

<!ELEMENT Cameras ( Camera+ ) >
<!ATTLIST Cameras version CDATA #IMPLIED >

<!ELEMENT CFA ( Color+ ) >
<!ATTLIST CFA height NMTOKEN #REQUIRED >
<!ATTLIST CFA width NMTOKEN #REQUIRED >

<!ELEMENT Color ( #PCDATA ) >
<!ATTLIST Color x NMTOKEN #REQUIRED >
<!ATTLIST Color y NMTOKEN #REQUIRED >

<!ELEMENT Crop EMPTY >
<!ATTLIST Crop height NMTOKEN #REQUIRED >
<!ATTLIST Crop width NMTOKEN #REQUIRED >
<!ATTLIST Crop x NMTOKEN #REQUIRED >
<!ATTLIST Crop y NMTOKEN #REQUIRED >

<!ELEMENT Horizontal EMPTY >
<!ATTLIST Horizontal height NMTOKEN #REQUIRED >
<!ATTLIST Horizontal y NMTOKEN #REQUIRED >

<!ELEMENT Sensor EMPTY >
<!ATTLIST Sensor white NMTOKEN #REQUIRED >
<!ATTLIST Sensor black NMTOKEN #REQUIRED >
<!ATTLIST Sensor iso_min NMTOKEN #IMPLIED >
<!ATTLIST Sensor iso_max NMTOKEN #IMPLIED >

<!ELEMENT Vertical EMPTY >
<!ATTLIST Vertical width NMTOKEN #REQUIRED >
<!ATTLIST Vertical x NMTOKEN #REQUIRED >

<!ELEMENT Hints ( Hint+ ) >
<!ELEMENT Hint EMPTY >
<!ATTLIST Hint name CDATA #REQUIRED >
<!ATTLIST Hint value CDATA #REQUIRED >

<!ELEMENT Aliases ( Alias+ ) >
<!ELEMENT Alias (#PCDATA) >
]>

<Cameras>
  <Camera make="Canon" model="Canon EOS 20D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="74" y="12" width="3522" height="2348"/>
    <Sensor black="126" white="4095"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 30D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="74" y="12" width="3522" height="2348"/>
    <Sensor black="127" white="3398"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 350D DIGITAL">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="42" y="14" width="3474" height="2314"/>
    <Sensor black="255" white="4095"/>
    <Aliases>
		<Alias>Canon EOS DIGITAL REBEL XT</Alias>
		<Alias>Canon EOS Kiss Digital N</Alias>
		<Alias>Canon EOS 350D</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 40D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="30" y="18" width="3908" height="2602"/>
    <Sensor black="1021" white="13600"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 40D" mode="sRaw2">
    <Crop x="0" y="0" width="1944" height="1296"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 450D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="22" y="18" width="4290" height="2856"/>
    <Sensor black="1020" white="16000"/>
    <Aliases>
		<Alias>Canon EOS DIGITAL REBEL XSi</Alias>
		<Alias>Canon EOS Kiss Digital X2</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="64" y="52" width="4752" height="3158"/>
    <Sensor black="1020" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D" mode="sRaw1">
    <Crop x="0" y="0" width="3272" height="2178"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D" mode="sRaw2">
    <Crop x="0" y="0" width="2376" height="1584"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 60D">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="146" y="54" width="0" height="0"/>
    <Sensor black="2026" white="15304"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 60D" mode="sRaw1">
    <Crop x="0" y="0" width="0" height="0"/>
    <Sensor black="0" white="16383"/>
  </Camera>  
  <Camera make="Canon" model="Canon EOS 60D" mode="sRaw2">
    <Crop x="0" y="0" width="0" height="0"/>
    <Sensor black="0" white="16383"/>
  </Camera>  
  <Camera make="Canon" model="Canon EOS 500D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="62" y="30" width="4722" height="3142"/>
    <Sensor black="1020" white="16000"/>
    <Aliases>
		<Alias>Canon EOS REBEL T1i</Alias>
		<Alias>Canon EOS Kiss X3</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 550D">
    <CFA width="2" height="2">
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="1">GREEN</Color>
      <Color x="0" y="1">RED</Color>
    </CFA>
    <Crop x="148" y="54" width="0" height="0"/>
    <Sensor black="2000" white="16000"/>
    <Aliases>
		<Alias>Canon EOS REBEL T2i</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 5D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="90" y="34" width="4386" height="2920"/>
    <Sensor black="127" white="3692"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 5D Mark II">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="158" y="51" width="5634" height="3753"/>
    <Sensor black="1024" white="15600"/><commit_msg>More accurate white/black point on canon 550D. Thanks to <NAME> for reporting!<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="showcameras.xsl" ?>
<!--
    License: CC-BY-SA 3.0

    This work is licensed under a 
    Creative Commons Attribution-ShareAlike 3.0 Unported License. 

    See more at:
    http://creativecommons.org/licenses/by-sa/3.0/
-->

<!DOCTYPE Cameras [
<!ELEMENT BlackAreas ( Vertical?, Horizontal? ) >

<!ELEMENT Camera ( CFA?, Crop, Sensor+, BlackAreas?, Aliases?, Hints? ) >
<!ATTLIST Camera make CDATA #REQUIRED >
<!ATTLIST Camera model CDATA #REQUIRED >
<!ATTLIST Camera supported CDATA #IMPLIED >
<!ATTLIST Camera mode CDATA #IMPLIED >
<!ATTLIST Camera decoder_version CDATA #IMPLIED >

<!ELEMENT Cameras ( Camera+ ) >
<!ATTLIST Cameras version CDATA #IMPLIED >

<!ELEMENT CFA ( Color+ ) >
<!ATTLIST CFA height NMTOKEN #REQUIRED >
<!ATTLIST CFA width NMTOKEN #REQUIRED >

<!ELEMENT Color ( #PCDATA ) >
<!ATTLIST Color x NMTOKEN #REQUIRED >
<!ATTLIST Color y NMTOKEN #REQUIRED >

<!ELEMENT Crop EMPTY >
<!ATTLIST Crop height NMTOKEN #REQUIRED >
<!ATTLIST Crop width NMTOKEN #REQUIRED >
<!ATTLIST Crop x NMTOKEN #REQUIRED >
<!ATTLIST Crop y NMTOKEN #REQUIRED >

<!ELEMENT Horizontal EMPTY >
<!ATTLIST Horizontal height NMTOKEN #REQUIRED >
<!ATTLIST Horizontal y NMTOKEN #REQUIRED >

<!ELEMENT Sensor EMPTY >
<!ATTLIST Sensor white NMTOKEN #REQUIRED >
<!ATTLIST Sensor black NMTOKEN #REQUIRED >
<!ATTLIST Sensor iso_min NMTOKEN #IMPLIED >
<!ATTLIST Sensor iso_max NMTOKEN #IMPLIED >

<!ELEMENT Vertical EMPTY >
<!ATTLIST Vertical width NMTOKEN #REQUIRED >
<!ATTLIST Vertical x NMTOKEN #REQUIRED >

<!ELEMENT Hints ( Hint+ ) >
<!ELEMENT Hint EMPTY >
<!ATTLIST Hint name CDATA #REQUIRED >
<!ATTLIST Hint value CDATA #REQUIRED >

<!ELEMENT Aliases ( Alias+ ) >
<!ELEMENT Alias (#PCDATA) >
]>

<Cameras>
  <Camera make="Canon" model="Canon EOS 20D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="74" y="12" width="3522" height="2348"/>
    <Sensor black="126" white="4095"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 30D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="74" y="12" width="3522" height="2348"/>
    <Sensor black="127" white="3398"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 350D DIGITAL">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="42" y="14" width="3474" height="2314"/>
    <Sensor black="255" white="4095"/>
    <Aliases>
		<Alias>Canon EOS DIGITAL REBEL XT</Alias>
		<Alias>Canon EOS Kiss Digital N</Alias>
		<Alias>Canon EOS 350D</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 40D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="30" y="18" width="3908" height="2602"/>
    <Sensor black="1021" white="13600"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 40D" mode="sRaw2">
    <Crop x="0" y="0" width="1944" height="1296"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 450D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="22" y="18" width="4290" height="2856"/>
    <Sensor black="1020" white="16000"/>
    <Aliases>
		<Alias>Canon EOS DIGITAL REBEL XSi</Alias>
		<Alias>Canon EOS Kiss Digital X2</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="64" y="52" width="4752" height="3158"/>
    <Sensor black="1020" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D" mode="sRaw1">
    <Crop x="0" y="0" width="3272" height="2178"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 50D" mode="sRaw2">
    <Crop x="0" y="0" width="2376" height="1584"/>
    <Sensor black="0" white="16383"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 60D">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="146" y="54" width="0" height="0"/>
    <Sensor black="2026" white="15304"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 60D" mode="sRaw1">
    <Crop x="0" y="0" width="0" height="0"/>
    <Sensor black="0" white="16383"/>
  </Camera>  
  <Camera make="Canon" model="Canon EOS 60D" mode="sRaw2">
    <Crop x="0" y="0" width="0" height="0"/>
    <Sensor black="0" white="16383"/>
  </Camera>  
  <Camera make="Canon" model="Canon EOS 500D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="62" y="30" width="4722" height="3142"/>
    <Sensor black="1020" white="16000"/>
    <Aliases>
		<Alias>Canon EOS REBEL T1i</Alias>
		<Alias>Canon EOS Kiss X3</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 550D">
    <CFA width="2" height="2">
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="1">GREEN</Color>
      <Color x="0" y="1">RED</Color>
    </CFA>
    <Crop x="148" y="54" width="0" height="0"/>
    <Sensor black="2048" white="15831"/>
    <Aliases>
		<Alias>Canon EOS REBEL T2i</Alias>
	</Aliases>
  </Camera>
  <Camera make="Canon" model="Canon EOS 5D">
    <CFA width="2" height="2">
      <Color x="0" y="0">RED</Color>
      <Color x="1" y="0">GREEN</Color>
      <Color x="0" y="1">GREEN</Color>
      <Color x="1" y="1">BLUE</Color>
    </CFA>
    <Crop x="90" y="34" width="4386" height="2920"/>
    <Sensor black="127" white="3692"/>
  </Camera>
  <Camera make="Canon" model="Canon EOS 5D Mark II">
    <CFA width="2" height="2">
      <Color x="0" y="0">GREEN</Color>
      <Color x="1" y="0">BLUE</Color>
      <Color x="0" y="1">RED</Color>
      <Color x="1" y="1">GREEN</Color>
    </CFA>
    <Crop x="158" y="51" width="5634" height="3753"/>
    <Sensor black="1024" white="15600"/>
{'fraction_non_alphanumeric': 0.21444728201386357, 'fraction_numerical': 0.06545056548704853, 'mean_word_length': 3.6874145006839947, 'pattern_counts': {'":': 0, '<': 482, '<?xml version=': 2, '>': 482, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4776140', 'n_tokens_mistral': 5970, 'n_tokens_neox': 5553, 'n_words': 1296}