Rozpoznawanie banknotów
This commit is contained in:
parent
7756e4ac6f
commit
f82a9369f2
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$">
|
||||||
<orderEntry type="jdk" jdkName="Python 3.7" jdkType="Python SDK" />
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/wenw" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="Python 3.7 (Restaurant)" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TestRunnerService">
|
<component name="TestRunnerService">
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (Restaurant)" project-jdk-type="Python SDK" />
|
||||||
|
<component name="PyCharmProfessionalAdvertiser">
|
||||||
|
<option name="shown" value="true" />
|
||||||
|
</component>
|
||||||
</project>
|
</project>
|
@ -1,14 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="76f12f94-8135-4028-8378-41c67cca6cd2" name="Default Changelist" comment="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia">
|
<list default="true" id="76f12f94-8135-4028-8378-41c67cca6cd2" name="Default Changelist" comment="Rozpoznawanie banknotów">
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/Restaurant.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/Restaurant.iml" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/kitchen1.png" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
||||||
<change afterPath="$PROJECT_DIR$/kitchen2.png" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/kitchen3.png" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/kitchen4.png" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/waiter_left.png" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/waiter_right.png" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
@ -20,11 +15,20 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/image_classification.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret line="4" column="16" lean-forward="true" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/main.py">
|
<entry file="file://$PROJECT_DIR$/main.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="4">
|
<state relative-caret-position="13508">
|
||||||
<caret line="20" column="51" lean-forward="true" selection-start-line="20" selection-start-column="51" selection-end-line="20" selection-end-column="51" />
|
<caret line="668" column="15" lean-forward="true" selection-start-line="668" selection-start-column="15" selection-end-line="668" selection-end-column="15" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#13#0" expanded="true" />
|
<element signature="e#0#13#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
@ -52,13 +56,26 @@
|
|||||||
<component name="IdeDocumentHistory">
|
<component name="IdeDocumentHistory">
|
||||||
<option name="CHANGED_PATHS">
|
<option name="CHANGED_PATHS">
|
||||||
<list>
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main1.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/__init__.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main2.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main3.py" />
|
||||||
|
<option value="$PROJECT_DIR$/main4.py" />
|
||||||
|
<option value="$PROJECT_DIR$/venv/Lib/site-packages/torch/utils/data/_utils/collate.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Sara/image_classification.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main5.py" />
|
||||||
<option value="$PROJECT_DIR$/main.py" />
|
<option value="$PROJECT_DIR$/main.py" />
|
||||||
|
<option value="$PROJECT_DIR$/sth.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main4.py" />
|
||||||
|
<option value="$PROJECT_DIR$/main6.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/mian7.py" />
|
||||||
|
<option value="$PROJECT_DIR$/Kinga/main8.py" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds" extendedState="6">
|
<component name="ProjectFrameBounds" extendedState="6">
|
||||||
<option name="x" value="950" />
|
<option name="x" value="-10" />
|
||||||
<option name="width" value="979" />
|
<option name="width" value="980" />
|
||||||
<option name="height" value="1040" />
|
<option name="height" value="1040" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||||
@ -74,6 +91,36 @@
|
|||||||
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="Kinga" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="Kinga" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="data" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="Kinga" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="data" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="examine" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="Kinga" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="data" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="train" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Restaurant" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Restaurant" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="Sara" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
</expand>
|
</expand>
|
||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
@ -82,7 +129,8 @@
|
|||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
<property name="settings.editor.selected.configurable" value="settings.github" />
|
<property name="last_opened_file_path" value="$PROJECT_DIR$/venv" />
|
||||||
|
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
|
||||||
</component>
|
</component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
<key name="MoveFile.RECENT_KEYS">
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
@ -101,7 +149,7 @@
|
|||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunManager">
|
<component name="RunManager" selected="Python.main">
|
||||||
<configuration name="main" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
<configuration name="main" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
||||||
<module name="Restaurant" />
|
<module name="Restaurant" />
|
||||||
<option name="INTERPRETER_OPTIONS" value="" />
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
@ -123,9 +171,97 @@
|
|||||||
<option name="INPUT_FILE" value="" />
|
<option name="INPUT_FILE" value="" />
|
||||||
<method v="2" />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<configuration name="main4 (1)" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
||||||
|
<module name="Restaurant" />
|
||||||
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
|
<option name="PARENT_ENVS" value="true" />
|
||||||
|
<envs>
|
||||||
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
|
</envs>
|
||||||
|
<option name="SDK_HOME" value="" />
|
||||||
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/Kinga" />
|
||||||
|
<option name="IS_MODULE_SDK" value="true" />
|
||||||
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Kinga/main4.py" />
|
||||||
|
<option name="PARAMETERS" value="" />
|
||||||
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||||
|
<option name="EMULATE_TERMINAL" value="false" />
|
||||||
|
<option name="MODULE_MODE" value="false" />
|
||||||
|
<option name="REDIRECT_INPUT" value="false" />
|
||||||
|
<option name="INPUT_FILE" value="" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
<configuration name="main6" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
||||||
|
<module name="Restaurant" />
|
||||||
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
|
<option name="PARENT_ENVS" value="true" />
|
||||||
|
<envs>
|
||||||
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
|
</envs>
|
||||||
|
<option name="SDK_HOME" value="" />
|
||||||
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
|
<option name="IS_MODULE_SDK" value="true" />
|
||||||
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/main6.py" />
|
||||||
|
<option name="PARAMETERS" value="" />
|
||||||
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||||
|
<option name="EMULATE_TERMINAL" value="false" />
|
||||||
|
<option name="MODULE_MODE" value="false" />
|
||||||
|
<option name="REDIRECT_INPUT" value="false" />
|
||||||
|
<option name="INPUT_FILE" value="" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
<configuration name="mian7" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
||||||
|
<module name="Restaurant" />
|
||||||
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
|
<option name="PARENT_ENVS" value="true" />
|
||||||
|
<envs>
|
||||||
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
|
</envs>
|
||||||
|
<option name="SDK_HOME" value="" />
|
||||||
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/Kinga" />
|
||||||
|
<option name="IS_MODULE_SDK" value="true" />
|
||||||
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Kinga/mian7.py" />
|
||||||
|
<option name="PARAMETERS" value="" />
|
||||||
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||||
|
<option name="EMULATE_TERMINAL" value="false" />
|
||||||
|
<option name="MODULE_MODE" value="false" />
|
||||||
|
<option name="REDIRECT_INPUT" value="false" />
|
||||||
|
<option name="INPUT_FILE" value="" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
<configuration name="sth" type="PythonConfigurationType" factoryName="Python" temporary="true">
|
||||||
|
<module name="Restaurant" />
|
||||||
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
|
<option name="PARENT_ENVS" value="true" />
|
||||||
|
<envs>
|
||||||
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
|
</envs>
|
||||||
|
<option name="SDK_HOME" value="" />
|
||||||
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
|
<option name="IS_MODULE_SDK" value="true" />
|
||||||
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/sth.py" />
|
||||||
|
<option name="PARAMETERS" value="" />
|
||||||
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
||||||
|
<option name="EMULATE_TERMINAL" value="false" />
|
||||||
|
<option name="MODULE_MODE" value="false" />
|
||||||
|
<option name="REDIRECT_INPUT" value="false" />
|
||||||
|
<option name="INPUT_FILE" value="" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
<recent_temporary>
|
<recent_temporary>
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="Python.main" />
|
<item itemvalue="Python.main" />
|
||||||
|
<item itemvalue="Python.mian7" />
|
||||||
|
<item itemvalue="Python.main6" />
|
||||||
|
<item itemvalue="Python.main4 (1)" />
|
||||||
|
<item itemvalue="Python.sth" />
|
||||||
</list>
|
</list>
|
||||||
</recent_temporary>
|
</recent_temporary>
|
||||||
</component>
|
</component>
|
||||||
@ -140,23 +276,31 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1584915187051</updated>
|
<updated>1584915187051</updated>
|
||||||
</task>
|
</task>
|
||||||
|
<task id="LOCAL-00001" summary="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia">
|
||||||
|
<created>1587817863041</created>
|
||||||
|
<option name="number" value="00001" />
|
||||||
|
<option name="presentableId" value="LOCAL-00001" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1587817863041</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="2" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
|
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.019828156" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.10839392" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info id="Favorites" order="2" side_tool="true" />
|
<window_info id="Favorites" order="2" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.49925596" weight="0.3045326" />
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.49925596" weight="0.26628897" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.39934534" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.398017" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="bottom" id="Version Control" order="7" weight="0.53824365" />
|
<window_info anchor="bottom" id="Version Control" order="7" weight="0.21246459" />
|
||||||
<window_info anchor="bottom" id="Terminal" order="8" weight="0.9575071" />
|
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.3243626" />
|
||||||
<window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50074404" side_tool="true" weight="0.3289689" />
|
<window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50074404" side_tool="true" weight="0.3289689" />
|
||||||
<window_info anchor="bottom" id="Python Console" order="10" />
|
<window_info anchor="bottom" id="Python Console" order="10" />
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
@ -164,24 +308,219 @@
|
|||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
</layout>
|
</layout>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="Vcs.Log.History.Properties">
|
||||||
|
<option name="COLUMN_ORDER">
|
||||||
|
<list>
|
||||||
|
<option value="0" />
|
||||||
|
<option value="2" />
|
||||||
|
<option value="3" />
|
||||||
|
<option value="1" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia" />
|
<MESSAGE value="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia" />
|
<option name="LAST_COMMIT_MESSAGE" value="Dodanie kierunku agenta; rozstawienie stolow; dodanie kuchni; agent nie wchodzi na pola z obiektem stol i kuchnia" />
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$USER_HOME$/Downloads/DSZI_2020_Projekt-master/dszi_2020_projekt/Restaurant/main.py">
|
<entry file="file://$USER_HOME$/Downloads/DSZI_2020_Projekt-master/dszi_2020_projekt/Restaurant/main.py" />
|
||||||
|
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/keras/backend/__init__.py" />
|
||||||
|
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/keras/utils/conv_utils.py" />
|
||||||
|
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/keras/utils/__init__.py" />
|
||||||
|
<entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/keras/__init__.py" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/Marta/doLearnData3">
|
||||||
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Marta/digest_entropy.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Marta/digest.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Marta/DecisionTreeGenerate.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="330">
|
||||||
|
<caret line="15" column="18" lean-forward="true" selection-start-line="15" selection-start-column="18" selection-end-line="15" selection-end-column="18" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#19#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty001.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty002.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty003.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty004.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty005.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty017.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty016.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty015.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty014.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty012.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty011.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty009.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty008.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty007.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/data/train/dirty/dirty006.png">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/venv/Lib/site-packages/torch/nn/modules/conv.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="1836">
|
||||||
|
<caret line="345" selection-start-line="345" selection-end-line="345" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/venv/Lib/site-packages/torch/utils/data/dataloader.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="391">
|
||||||
|
<caret line="344" selection-start-line="344" selection-end-line="344" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/main4.py" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/venv/Lib/site-packages/torch/utils/data/_utils/collate.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="136">
|
||||||
|
<caret line="54" column="26" selection-start-line="54" selection-start-column="26" selection-end-line="54" selection-end-column="26" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/sth.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state>
|
<state>
|
||||||
|
<caret selection-end-line="2" selection-end-column="10" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/main6.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="1210">
|
||||||
|
<caret line="58" selection-end-line="338" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#13#0" expanded="true" />
|
<element signature="e#1744#1756#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/__init__.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="242">
|
||||||
|
<caret line="11" column="18" lean-forward="true" selection-start-line="11" selection-start-column="18" selection-end-line="11" selection-end-column="18" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main5.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="1166">
|
||||||
|
<caret line="53" column="54" selection-start-line="53" selection-start-column="54" selection-end-line="53" selection-end-column="54" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#94#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/mian7.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="748">
|
||||||
|
<caret line="88" column="32" selection-start-line="88" selection-start-column="32" selection-end-line="88" selection-end-column="32" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#1744#1756#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main8.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="2002">
|
||||||
|
<caret line="172" column="1" selection-start-line="172" selection-start-column="1" selection-end-line="172" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#9#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main1.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="462">
|
||||||
|
<caret line="27" column="57" selection-start-line="27" selection-start-column="57" selection-end-line="27" selection-end-column="57" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main2.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="2156">
|
||||||
|
<caret line="103" selection-start-line="103" selection-end-line="103" selection-end-column="36" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main3.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="1459">
|
||||||
|
<caret line="92" column="28" selection-start-line="92" selection-start-column="28" selection-end-line="92" selection-end-column="28" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#9#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Kinga/main4.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-2017">
|
||||||
|
<caret line="22" column="33" selection-start-line="22" selection-start-column="33" selection-end-line="22" selection-end-column="69" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#12#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Sara/image_classification.py">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret line="4" column="16" lean-forward="true" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/../README.md">
|
||||||
|
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||||
|
<state split_layout="SPLIT">
|
||||||
|
<first_editor />
|
||||||
|
<second_editor />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/main.py">
|
<entry file="file://$PROJECT_DIR$/main.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="4">
|
<state relative-caret-position="13508">
|
||||||
<caret line="20" column="51" lean-forward="true" selection-start-line="20" selection-start-column="51" selection-end-line="20" selection-end-column="51" />
|
<caret line="668" column="15" lean-forward="true" selection-start-line="668" selection-start-column="15" selection-end-line="668" selection-end-column="15" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#13#0" expanded="true" />
|
<element signature="e#0#13#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
|
@ -123,7 +123,7 @@ class Dish(object):
|
|||||||
self.dishName = dishName
|
self.dishName = dishName
|
||||||
self.preparationTime = prepTime
|
self.preparationTime = prepTime
|
||||||
self.eatingTime = eatTime
|
self.eatingTime = eatTime
|
||||||
self.price = price
|
self.price = int(price)
|
||||||
self.fatContent = random.randint(0, 16)
|
self.fatContent = random.randint(0, 16)
|
||||||
self.fiberContent = random.randint(0, 16)
|
self.fiberContent = random.randint(0, 16)
|
||||||
self.spicy = random.randint(0, 1)
|
self.spicy = random.randint(0, 1)
|
||||||
@ -185,12 +185,12 @@ class Kitchen(object):
|
|||||||
|
|
||||||
|
|
||||||
class Client(object):
|
class Client(object):
|
||||||
def __init__(self, age, sex, budget, table):
|
def __init__(self, age, sex, table, budget):
|
||||||
self.age = age
|
self.age = age
|
||||||
self.sex = sex
|
self.sex = sex
|
||||||
self.myPlate = None
|
self.myPlate = None
|
||||||
self.budget = budget
|
|
||||||
self.myTable = table #domyślnie klient nie siedzi przy żadnym stole
|
self.myTable = table #domyślnie klient nie siedzi przy żadnym stole
|
||||||
|
self.budget = budget
|
||||||
|
|
||||||
def takePlateAndEat(self, plate):
|
def takePlateAndEat(self, plate):
|
||||||
self.myPlate = plate
|
self.myPlate = plate
|
||||||
@ -204,6 +204,9 @@ class Client(object):
|
|||||||
self.myPlate = None
|
self.myPlate = None
|
||||||
return plate
|
return plate
|
||||||
|
|
||||||
|
def pay(self, image):
|
||||||
|
load = Image.open(image)
|
||||||
|
load.show()
|
||||||
|
|
||||||
class Table(object):
|
class Table(object):
|
||||||
def __init__(self, pos, capacity):
|
def __init__(self, pos, capacity):
|
||||||
@ -476,6 +479,65 @@ def evaluate(b):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def payment(c):
|
||||||
|
if c == 1:
|
||||||
|
|
||||||
|
dish_1 = Dish("obiad", 40, 20, 150)
|
||||||
|
dish_2 = Dish("deser", 25, 10, 75)
|
||||||
|
dish_3 = Dish("obiad 2", 30, 25, 49)
|
||||||
|
dish_4 = Dish("obiad 2", 15, 25, 14)
|
||||||
|
|
||||||
|
plate_1 = Plate(dish_1, "Sara/data/validation/food/dirty004.png")
|
||||||
|
plate_2 = Plate(dish_2, "Sara/data/validation/food/dirty010.png")
|
||||||
|
plate_3 = Plate(dish_3, "Sara/data/validation/dirty/dirty001.png")
|
||||||
|
plate_4 = Plate(dish_4, "Sara/data/validation/dirty/dirty009.png")
|
||||||
|
|
||||||
|
client_1 = Client(21, 1, 1, 200)
|
||||||
|
client_2 = Client(44, 0, 4, 100)
|
||||||
|
client_3 = Client(27, 1, 5, 50)
|
||||||
|
client_4 = Client(19, 0, 8, 0) #karta
|
||||||
|
|
||||||
|
client_1.takePlateAndEat(plate_1)
|
||||||
|
client_2.takePlateAndEat(plate_2)
|
||||||
|
client_3.takePlateAndEat(plate_3)
|
||||||
|
client_4.takePlateAndEat(plate_4)
|
||||||
|
|
||||||
|
bot.goByAStar((tables[1].pos[0] + 1, tables[1].pos[1]))
|
||||||
|
messagebox.showinfo("Rachunek", "Proszę o zapłatę " + str(dish_1.price) + " zł.")
|
||||||
|
client_1.pay('Kinga/data/examine/200/examine_056.png')
|
||||||
|
#classify image#
|
||||||
|
#if img == 1:
|
||||||
|
# messagebox.showinfo("Rachunek", "Dziękuję, należy się reszta: " + str(client_1.budget - dish_1.price) + " zł.")
|
||||||
|
#else: #karta
|
||||||
|
# messagebox.showinfo("Uwaga", "Niestety, nie przyjmujemy zapłaty kartą.")
|
||||||
|
|
||||||
|
bot.goByAStar((tables[4].pos[0] + 1, tables[4].pos[1]))
|
||||||
|
messagebox.showinfo("Rachunek", "Proszę o zapłatę " + str(dish_2.price) + " zł.")
|
||||||
|
client_2.pay("Kinga/data/examine/100/examine_036.png")
|
||||||
|
#tak samo
|
||||||
|
#messagebox.showinfo("Rachunek", "Dziękuję, należy się reszta: " + str(client_2.budget - dish_2.price) + " zł.")
|
||||||
|
|
||||||
|
|
||||||
|
bot.goByAStar((tables[5].pos[0] + 1, tables[5].pos[1]))
|
||||||
|
messagebox.showinfo("Rachunek", "Proszę o zapłatę " + str(dish_3.price) + " zł.")
|
||||||
|
client_3.pay("Kinga/data/examine/50/examine_029.png")
|
||||||
|
#messagebox.showinfo("Rachunek", "Dziękuję, należy się reszta: " + str(client_3.budget - dish_3.price) + " zł.")
|
||||||
|
|
||||||
|
|
||||||
|
bot.goByAStar((tables[8].pos[0] + 1, tables[8].pos[1]))
|
||||||
|
messagebox.showinfo("Rachunek", "Proszę o zapłatę " + str(dish_4.price) + " zł.")
|
||||||
|
client_4.pay("Kinga/data/examine/cards/card_008.png")
|
||||||
|
#messagebox.showinfo("Rachunek", "Dziękuję, należy się reszta: " + str(client_4.budget - dish_4.price) + " zł.")
|
||||||
|
messagebox.showinfo("Uwaga", "Niestety, nie przyjmujemy zapłaty kartą.")
|
||||||
|
|
||||||
|
|
||||||
|
messagebox.showinfo("Informacja końcowa", "Zakończono trasę.")
|
||||||
|
|
||||||
|
pygame.quit()
|
||||||
|
exit()
|
||||||
|
else:
|
||||||
|
pass
|
||||||
|
|
||||||
def text_objects(text, font):
|
def text_objects(text, font):
|
||||||
textSurface = font.render(text, True, black)
|
textSurface = font.render(text, True, black)
|
||||||
return textSurface, textSurface.get_rect()
|
return textSurface, textSurface.get_rect()
|
||||||
@ -513,6 +575,7 @@ def redrawWindow(surface):
|
|||||||
drawGrid(width, rows, surface)
|
drawGrid(width, rows, surface)
|
||||||
button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white)
|
button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white)
|
||||||
button("Ciężkostrawność dań", 200, width + 1, 198, 48, light_beige, white)
|
button("Ciężkostrawność dań", 200, width + 1, 198, 48, light_beige, white)
|
||||||
|
button("Rozpoznawanie banknotów", 400, width + 1, 198, 48, light_beige, white)
|
||||||
|
|
||||||
pygame.display.update()
|
pygame.display.update()
|
||||||
|
|
||||||
@ -612,6 +675,7 @@ def main():
|
|||||||
quit()
|
quit()
|
||||||
button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white, classify)
|
button("Rozpoznawanie talerzy", 0, width + 1, 198, 48, light_beige, white, classify)
|
||||||
button("Ciężkostrawność dań", 200, width + 1, 198, 48, light_beige, white, evaluate)
|
button("Ciężkostrawność dań", 200, width + 1, 198, 48, light_beige, white, evaluate)
|
||||||
|
button("Rozpoznawanie banknotów", 400, width + 1, 198, 48, light_beige, white, payment)
|
||||||
redrawWindow(window)
|
redrawWindow(window)
|
||||||
|
|
||||||
pygame.quit()
|
pygame.quit()
|
||||||
|
Loading…
Reference in New Issue
Block a user