{
  "id": 351997,
  "title": "Crop_1 with 2.3M.",
  "url": "/competitions/ai-village-ctf/discussion/351997",
  "author_name": "Tariq Haj Naser",
  "post_date": "2022-09-12T15:49:46.649000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p>y=plt.imread(\"../input/ai-village-ctf/crop/sample_image.png\")[:,:,:3]<em>255\nexpected= ((25.5-np.divide(X_comp,0b1010)))</em>10<br>\nind={0:(75,74),1:(75,74),2:(74,74),3:(75,75),4:(75,75),5:(74,75),6:(75,75),7:(75,75),8:(74,75)}<br>\nfor a,b in ind.items():<br>\n    i, j = get_ij(a)<br>\n    z=resize(expected,b)<br>\n    y[j<em>75:(j+1)</em>75,i<em>75:(i+1)</em>75,:]=z<br>\ny[:,:,0][y[:,:,0]&gt;222]=226<br>\nscore(y.flatten())</p>",
  "messages": [
    {
      "id": 1936242,
      "postDate": "2022-09-12T15:49:46.650Z",
      "content": "<p>y=plt.imread(\"../input/ai-village-ctf/crop/sample_image.png\")[:,:,:3]<em>255\nexpected= ((25.5-np.divide(X_comp,0b1010)))</em>10<br>\nind={0:(75,74),1:(75,74),2:(74,74),3:(75,75),4:(75,75),5:(74,75),6:(75,75),7:(75,75),8:(74,75)}<br>\nfor a,b in ind.items():<br>\n    i, j = get_ij(a)<br>\n    z=resize(expected,b)<br>\n    y[j<em>75:(j+1)</em>75,i<em>75:(i+1)</em>75,:]=z<br>\ny[:,:,0][y[:,:,0]&gt;222]=226<br>\nscore(y.flatten())</p>",
      "rawMarkdown": "y=plt.imread(\"../input/ai-village-ctf/crop/sample_image.png\")[:,:,:3]*255\nexpected= ((25.5-np.divide(X_comp,0b1010)))*10\nind={0:(75,74),1:(75,74),2:(74,74),3:(75,75),4:(75,75),5:(74,75),6:(75,75),7:(75,75),8:(74,75)}\nfor a,b in ind.items():\n    i, j = get_ij(a)\n    z=resize(expected,b)\n    y[j*75:(j+1)*75,i*75:(i+1)*75,:]=z\ny[:,:,0][y[:,:,0]>222]=226\nscore(y.flatten())",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1936242": "y=plt.imread(\"../input/ai-village-ctf/crop/sample_image.png\")[:,:,:3]*255\nexpected= ((25.5-np.divide(X_comp,0b1010)))*10\nind={0:(75,74),1:(75,74),2:(74,74),3:(75,75),4:(75,75),5:(74,75),6:(75,75),7:(75,75),8:(74,75)}\nfor a,b in ind.items():\n    i, j = get_ij(a)\n    z=resize(expected,b)\n    y[j*75:(j+1)*75,i*75:(i+1)*75,:]=z\ny[:,:,0][y[:,:,0]>222]=226\nscore(y.flatten())"
  }
}