{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":45867,"databundleVersionId":6924515,"sourceType":"competition"},{"sourceId":7206111,"sourceType":"datasetVersion","datasetId":4168746},{"sourceId":7206221,"sourceType":"datasetVersion","datasetId":4168952},{"sourceId":7206245,"sourceType":"datasetVersion","datasetId":4168974}],"dockerImageVersionId":30626,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"![NuvemzonaLogo](https://nuvemzona.com.br/wp-content/uploads/2023/09/Blue-Cloud-Nuvemzona-Logo-51x51.png)\n\n> Estou tratando as imagens para melhorar o treinamento, diferenciando as celulas saudáveis. Aplicando a mascara com a imagens grandes com melhor resolução. espero melhorar com dados melhores. \n\n-I am processing the images to improve training, differentiating healthy cells. Applying the mask to large images with better resolution.I hope to improve with better data. ","metadata":{}},{"cell_type":"code","source":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\nfor dirname, _, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))\n\n# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"ls -lh","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:12:31.578656Z","iopub.execute_input":"2023-12-29T22:12:31.579186Z","iopub.status.idle":"2023-12-29T22:12:32.614121Z","shell.execute_reply.started":"2023-12-29T22:12:31.579129Z","shell.execute_reply":"2023-12-29T22:12:32.612321Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"mkdir croped","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:12:32.617209Z","iopub.execute_input":"2023-12-29T22:12:32.617688Z","iopub.status.idle":"2023-12-29T22:12:33.649186Z","shell.execute_reply.started":"2023-12-29T22:12:32.617645Z","shell.execute_reply":"2023-12-29T22:12:33.647763Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"## lendo fonte DS , copiando\n!cp /kaggle/input/ubc-red-green-cells-croped-in-photoshop/* croped","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:13:40.813283Z","iopub.execute_input":"2023-12-29T22:13:40.813784Z","iopub.status.idle":"2023-12-29T22:13:43.105444Z","shell.execute_reply.started":"2023-12-29T22:13:40.813744Z","shell.execute_reply":"2023-12-29T22:13:43.103481Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"ls -lh","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:13:43.108857Z","iopub.execute_input":"2023-12-29T22:13:43.109459Z","iopub.status.idle":"2023-12-29T22:13:44.141025Z","shell.execute_reply.started":"2023-12-29T22:13:43.109404Z","shell.execute_reply":"2023-12-29T22:13:44.139633Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"ls -lh croped","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:13:44.143099Z","iopub.execute_input":"2023-12-29T22:13:44.144129Z","iopub.status.idle":"2023-12-29T22:13:45.165033Z","shell.execute_reply.started":"2023-12-29T22:13:44.144069Z","shell.execute_reply":"2023-12-29T22:13:45.163698Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!ls /kaggle/working/croped\n","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:13:45.167184Z","iopub.execute_input":"2023-12-29T22:13:45.167757Z","iopub.status.idle":"2023-12-29T22:13:46.185183Z","shell.execute_reply.started":"2023-12-29T22:13:45.167701Z","shell.execute_reply":"2023-12-29T22:13:46.183735Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"#df -h /kaggle/input/ubc-red-green-cells-croped-in-photoshop","metadata":{"execution":{"iopub.status.busy":"2023-12-29T22:13:46.188456Z","iopub.execute_input":"2023-12-29T22:13:46.189075Z","iopub.status.idle":"2023-12-29T22:13:46.196039Z","shell.execute_reply.started":"2023-12-29T22:13:46.189007Z","shell.execute_reply":"2023-12-29T22:13:46.194415Z"},"trusted":true},"execution_count":null,"outputs":[]}]}