can you give me is this structure well or not "
“Another step further in automation”
Experience Internship 2023-2024
student1
General information
Student
Name: student1
Student number: 2191148
Email:
Course: Informatica
Phase: Year 3
Re: Experience internship 2023-2024
School
Name:
Teacher supervisor: supervisorfromschool (& thesecondesupervisorfromschool)
Company/Institution/Organization
Name: companyX
Department:
Address:
Supervisor: Steve jobs Steve jobs
Product/Assignment
Name: AIventory
Client(s): Participants companyX
Project members: student1
Duration: 20 Weeks
Preface
Resume
Glossary
Table of contents
General information 1
Preface 2
Resume 3
1.0 Introduction 6
2.0. Context & Orientation 7
2.1. Company description 7
2.2 Business orientation 8
Introduction
Automation, a phenomenon that has brought major changes to our society and economy. The exponential growth in technologies such as artificial intelligence, machine learning, robotics and data analytics has led to the evolutions that companies and industries are currently undergoing.
Also the software development company “companyX” strives for the next level in automation. One of the ways this can be achieved is in inventory management. A concrete example concerns the provision of complete lunches and sufficient drinking facilities during the day. The current inventory management process is based on manual registration, which regularly results in unwanted shortages of drinks or excessive purchases of a certain product. companyX therefore aims to prevent this problem by automating the relevant process.
The aim of this product accountability report is to provide insight into and document the development process. The report will go into detail on the aforementioned issue and provide an overview of all the processes, methods and practices used to develop the final solution to this problem. In addition, this report also takes a closer look at the technologies used, the architecture that has been set up and the actual realization of this product.
2.0. Context & Orientation
2.1. Company description
“Our strength lies in developing smart but simple solutions for complex problems,” emphasizes Rein Buseman, a companyX participant. Although companyX falls within the Information and Communication category, they take a unique approach.
The place where software professionals come together to work on products and projects that both they and their clients can be proud of. They value the power of ambition and free will. They support the idea that the human touch should be reflected in everything they do, so that professionals can deliver high-quality work.
The professionals at companyX have been using their expertise for countless different organizations for 20 years. They have worked on projects ranging from solutions for automation in healthcare to contactless payments at festivals and smart charging stations for electric cars. Their work covers almost every conceivable area of work and emphasize that their work is always tailor-made, with a number of important similarities.
Moreover, companyX attaches great importance to involving the right “participants” who are a perfect fit for realizing the requested dream. These are people who get energy from solving a certain issue.
companyX also uses an approach without management layers. In this way they ensure that the stakeholders of every project, regardless of its size, are closely involved in the process. This approach promotes clear and direct communication, resulting in the desired end result.
2.2 Business orientation
2.3 Project management & system landscape
2.3.1 Process
companyX uses the agile approach. This method of project management is aimed at creating a flexible and efficient process. They attach great importance to correctly prioritizing tasks and testing partial products with users as quickly as possible.
Moreover, they apply the scrum methodology. companyX does this to promote Agile working, they report on their website (BRON). The most important thing is that they work in short iterations, also called sprints. With every sprint there is the opportunity to respond to new situations or insights, so the process remains flexible.
As mentioned earlier, companyX also uses an approach where there are no management layers. This means that the stakeholders and product owner talk directly to the developers. This ensures clear and direct communication, which only improves the end result.
2.3.2 “The colors”
CompanyX currently consists of different teams. These teams are called colors; each team has its own color and catchy name. Such a team consists of a maximum of 12 participants, the cell division principle is used by creating multiple teams. Each color also has its own category. Some projects fall under that category and will often be carried out in that color.
CompanyX does plan to abandon this method. More information?
2.3.3 Systems & Tools
Of course, companyX also uses various systems and landscapes. An Azure environment is preferred for most projects. Although the Microsoft landscape is most common within the company, more attention is now being paid to whether more integration with the AWS landscape can take place. The aim of this is to promote the diversity of the software platforms, so that they are not completely tied to Azure. However, it is important to remember that the choice depends entirely on the project and the participants. Does it fit the use case well? Is there enough expertise in that area, or is there space and material to acquire enough knowledge? In addition, companyX also uses their self-made systems. If they think that certain software can be improved or they simply want a system tailor-made for them, they build it themselves. AIventory, the product of this accountability, is an example of this.
CompanyX also uses various tools that optimize the work process. Examples of this include:
Slack: A business messaging application that connects people with the information they need. Slack works with so-called channels, where you can share information with your colleagues. In addition to these channels, it is also possible to message a person directly, both within and outside your organization. See:https://slack.com/
Gather: A digital working environment in which you can walk up to colleagues with a personal character, sit together at a conference table and actually see and hear them. Since companyX is a work from home company. See:https://www.gather.town/
Base60:An application built by companyX that serves to manage most of the paperwork. This contains all information regarding costs/turnover, all registered participants, purchasing of materials, etc.
3.0. problem analysis
3.1 Problem context
companyX is a meeting place where professionals come together to make dreams come true. In order to maintain this “sanctuary” it is important to take care of both the physical and mental health of all participants. Furthermore, this company has a strong commitment to sustainability, but in addition to green energy, food waste is of course also an important concern.
Lunch is available at all times for all participants and there is a refrigerator where everyone can take drinks from. If these supplies run out, they can be replenished with products from a separate stock room. This space should, if all goes well, be equipped with several crates or trays of soft drinks, sandwich fillings, any snacks and an extra refrigerator. Maintaining this stock is currently entrusted to a volunteer. This is done manually because there is currently no other way to monitor stock. Without someone continuously monitoring this, this will result in empty shelves.
3.2 Problem definition
Due to the voluntary and manual stock management of facilities such as drinks or sandwich fillings, companyX participants are often left with a shortage or surplus of products. This increases the risk that participants do not drink enough, which means there is a risk that they will work less productively or with discomfort. And when a surplus of products has been ordered, this can also lead to food waste. Which is contrary to the business goals set by companyX. At this time, there is no alternative method for tracking inventory status.
3.3 Stakeholders
3.3.1 Identification
It is important to know who exactly the stakeholders are in a project and what their goal or task is. To tackle this thoroughly, it is essential that we make an inventory of all possible parties involved in advance, classify them and analyze their role or importance.
Users:
The users provide input by stating their needs and requirements for the project. They can also contribute ideas to the development, after all, they are the people who will use the end product. They are also important to evaluate the results so that adjustments can be made if necessary.
Figure 1.0.0.0.AA Caption
Design team:
The design team works on a design taking into account the requirements and wishes that have been drawn up. These stakeholders also manage the project, budget and resources.
Figure 2.0.0.0.AA
3.3.2 Matrix
how do you involve stakeholders, how do you obtain your requirements? (Stakeholder involvement and systematic) (Stakeholder communication plan?)
3.4 Objective
The goal is to develop an effective alternative for inventory management. The intention is to reduce the voluntary and manual aspect; the alternative must be possible for all participants to use and manual maintenance of a list must become a thing of the past.
3.5 Potential solutions
3.5.1 Intro
In short, the problem means that inventory management is currently mainly based on voluntary and manual registration. To solve this, the goal has been set to develop an alternative that tackles these two aspects. Various options have been considered and tested for this.
3.5.2 Approach
First of all, the problem and the goal were carefully examined. What exactly is the purpose of the assignment and what do we want to achieve? The actual hard requirements had not yet been drawn up, which made it difficult to go into detail. In order to be able to come up with a targeted solution, “rough” requirements had been set for the time being; In any case, the alternative had to be an application, which in some way tackles the task of manually registering products. The application had to be able to know whether a product is present, which product exactly it is and register it.
Subsequently, it was investigated which technologies could steer the project towards the right solution. Exactly which tech stack would be used was not yet interesting at this stage. It was mainly about which technology(ies) could best address the aforementioned "rough requirements" but at the same time was flexible enough to implement any extensions or adjustments based on the later actual requirements and wishes of the solution. .
3.5.3 Solution directions
In order to automatically recognize and register products, Deep-Learning options were quickly looked at. This quickly became a lot more complicated and it was also unknown territory. Moreover, this also requires you to have some idea of the stock, which also added some complexity to the solution. There are also various options within this domain:
3.5.3.1 Image Classification
To begin with, “Image Classification” was examined. The idea was that an image was sent from inventory to the back-end application. This image is then processed and “chopped” into smaller parts. These smaller parts are then classified, giving you the name of the product that is in the smaller part of the image as output. However, this is not the ideal solution; there are too many situations where this can go wrong. It is difficult to divide an image into smaller parts like this without having two different products in the same part.
Figuur 3.0.0.0AA Image Classification vs Object Detection
3.5.3.2 Object Detection
Secondly, “Object Detection” was examined further. It was similar to Image Classification but without the problem of having to chop the image into parts first and then running the risk of having two different products in the same part. The difference can be clearly seen in the image above. It can recognize and label objects in an image. As output you will then receive all the objects found and where they are located on the image. It sounds like the ideal solution to our problem. The only disadvantage we could think of at that moment was that it is quite an arduous and complicated process.
3.5.3.2 State Comparison
“State Comparison” was also seen as a plausible idea. In this method you use a “Desired State” and a “Current State”, then you compare the two. It basically means comparing an image from a full stock with the image that was currently created using a vector database such as Weaviate. It was also proposed to establish fixed locations in the stock so that it could be concluded based on the location of the products whether or not it is present in the stock. But this was also not the ideal choice; a participant from companyX stated that there is never a time when the stock is completely full. And in addition, if the “Desired State” ever changes, it is a lot of hassle to adjust it in the application.
4.0 Approach
4.1 Intro
Before the start of the project, the best approach is investigated and a plan is drawn up for this. This plan mainly answers the "how questions" such as: "How will the project be divided?", "How will the communication proceed?", "How will the requirements be determined?" or “How do we deal with the risks?”. The answers to these questions provide guidelines to answer the issues but do not go into detail about the actual implementation. This chapter starts with an overview of the project structure and its different phases. The methodologies used that address specific issues are then described. It also explains how the requirements are determined and how communication with the stakeholders will proceed. In addition, it is explained in detail how the quality of the product is guaranteed, including a risk analysis that identifies all potential risks, their impact and the associated measures. Finally, a plan is drawn up that incorporates all the previously mentioned components into a clear and realistic schedule.
4.1 Project phasing
Every larger project must be divided into smaller phases. This way the project retains a clear structure and it is easier to create smaller, more realistic sub-tasks. This project is also divided into several phases and milestones; both at a global level and purely during the implementation phase. If we look from a global perspective, you can divide the entire project into the following phases:
4.1.1 Research phase
During this phase, the assignment is looked at broadly and it is determined what the approximate goal is and what resources will be needed to best tackle this goal. Research is being conducted for this, but no specific requirements or wishes have yet been stated.
4.1.2 Analysefase
This happens during the analysis phase. In this part of the project, the stakeholders are identified and the requirements and wishes are formulated in User Stories. Furthermore, the problem and the goal are worked out in more detail so that it is completely clear what exactly the intention is.
4.1.3 Designfase
Subsequently, in the design phase, designs are sketched, flows are visualized and the first prototypes or designs are presented to the stakeholders with the aim of determining the desired direction for implementation.
4.1.4 Implementation phase
Followed by the phase that lasts the longest. During this time, the detailed design is realized. The end result of this phase can then be divided into different milestones or further stages. The following stated stages are global; a detailed schedule can be found in the last paragraph of this chapter.
In the first stage the focus is on building a simple, working application. This application simply maintains a (mocked) status of a refrigerator or pantry. A shopping list is drawn up based on the information obtained from this. This includes intermediate results such as a fully operational web API, a working front-end and a set up database.
In the next stage the complexity starts to increase a bit. Deep Learning is introduced for the first time. A photo from the stock or refrigerator determines whether a product is present or whether it should be added to the shopping list. This photo must be passed through the recognition software and return a json format response. This also involves training your own model, or preparing the images through stitching, for example1 before the images are “scanned”.
In the third stage, the existing software is combined with hardware of your choice. The intention is to expand the application to be able to download photos via an external device such as a telephone. These photos are then automatically prepared and forwarded to the recognition software. Who finally calculates the shopping list.
In the final stage specific hardware is used. There is a camera or other sensor that can take a snapshot both on demand and via an adjustable time loop and can send it via a wireless and automatic connection to the application that then carries out the steps to get the desired result.
Figure 4002AA Deployment Sketch, Stage 4
4.1.5 Finishing phase
Finally, the phase where code is optimized, software production is prepared and the finishing touches are put into place. To be clear, this is not the phase where the tests are written. These are written during the implementation phase after adding functionality.
4.2 Quality Assurance
4.2.1 Intro
Ensuring high quality in a solution is related to using a structured approach and continuous but also thorough checks. To ensure that the solution meets the requirements and wishes of the client (and the stakeholders), there are various criteria and preconditions that Steve jobs must meet. This goes hand in hand with the ISO standard 25010, which describes the quality characteristics of software (ISO 25000, n.d.)
4.2.2 Functional Suitability
A logical but often underestimated factor is the constant tailoring of the chosen solution to the requirements and wishes of the client. To ensure that development remains in line with the stakeholders' initial ideas, regular communication and feedback sessions are very important. These ideas can also change over time and it is therefore important to have the opportunity to update them. This process is crucial for improving product quality, especially in the area of Functional Suitability according to the ISO 25010 guidelines. It ensures a better alignment of the solution with the intended objectives.
In addition, another important step is to define acceptance criteria for each “User Story”. It was already mentioned that a structured approach is indispensable if you want to develop a high-quality product. That is why user stories were drawn up during the analysis phase based on the requirements and wishes of the stakeholders. These are then added to a “board” where they can easily be scheduled. These user stories can only be approved when they meet all pre-set acceptance criteria. These acceptance criteria are discussed in further detail in a later chapter.
4.2.3 Software Quality
To ensure technical quality, various testing methods have been used and a solid architecture that guarantees scalability, maintainability and security. This architecture is described and substantiated in detail in a later chapter. Communication also plays an important role here. The project was continuously monitored by technical experts and in case of complex issues there was plenty of expertise nearby to consult. During development, constant attention was paid to the quality characteristics described in the ISO term 25010 such as: Performance Efficiency, Compatibility, Usability, Reliability, Security, Maintainability & Portability.
The tests are implemented as part of the development cycle, but not as a separate phase after the implementation phase. It is integrated into the implementation phase; the tests are written immediately after a new feature is added. This way you don't have to write all the tests at once at the end. In addition, one of the acceptance criteria of the user stories is that all tests pass for this functionality. Then it goes without saying that the results of the tests must be able to be concluded immediately. This way it is not necessary to wait until the implementation phase is completed to check off these user stories.
The unit tests focus on individual parts of the code to ensure that they function correctly and meet expectations. Moreover, these are executed automatically via Continuous Integration Continuous Delivery (CI/CD) pipelines. This means that an automated testing process is created with every change in the codebase.
Figure 5.0.0.2AA Flow of a User Story
In addition, end-to-end (E2E) testing is performed using a tool called Cypress. These tests simulate user interactions in the application and, for example, check whether performing a certain action, such as pressing a button, produces the desired result. This way of testing is very close to the actual production environment.
Finally, an indispensable factor that promotes software quality is the choice of a stable and flexible architecture based on different design patterns. It is important to pay attention to the associated best practices of this architecture and design patterns. This not only concerns matters such as project structures and names that match the chosen architecture, but also aspects that belong to the chosen technologies, such as memory management or the optimal use of assets. Many of the technologies chosen were personally unknown and therefore required extensive research. This research was mainly about finding out the best practices and the “Do's & Don'ts” of these technologies.
4.2.4 User Experience
In addition to the functional and software aspects, the user experience (UX) is of great importance for the quality of the end product (Ridder, n.d.). A positive user experience results in user satisfaction and therefore encourages more frequent use of the app. Additionally, an intuitive user interface and smooth workflows enable users to complete their tasks faster and work more efficiently. The ultimate goal of the application is to accelerate and improve the inventory management process through automation, so efficiency plays an important role.
To ensure that the quality of the user experience is guaranteed, there are a few essential steps that must be taken. It starts with analyzing the user needs and the flow of the application. After this analysis phase, it is important to create a user-friendly design that meets the needs of the users and at the same time the application flow.
In addition, there is a planned UX workshop/course on the program, organized by the company where the internship is taking place. While there is already existing knowledge and skills in the field of user experience, this workshop provides the opportunity to not only gain new insights, but also to connect with various UX experts. This network can be valuable for obtaining additional help and feedback to ensure the product meets the quality standards set by the experts.
During the development of the product, we work in an environment with other developers, often in a group consisting of fellow interns. These colleagues play an active role in extensively testing the product on various devices and platforms. Their feedback is the first “human check” that goes through a functionality, for example. In addition, several feedback sessions will also be planned in collaboration with various stakeholders. Stakeholders are given the opportunity to fully test the application, which provides valuable insights for optimizing the user experience.
It is also a personal goal to add the Wow Factor to the design of the application. While the main goal remains a simplistic yet efficient design, it is not unimportant to give the product a unique and memorable look.
The goal is to create an iterative process where there is continuous development, testing and improvement. With the aim of continuing to work consistently and achieving the desired results.
4.3 Risk analysis
4.3.1 Intro
To determine the risk factors of this project and to establish the relevant measures, a qualitative risk analysis is carried out. This analysis is limited to meeting deadlines, improving the process and limiting expenses during the development process of the AIventory product. In this analysis, the likelihood of risks is estimated and the extent of the consequences is examined. Finally, measures and actions are determined so that a conclusion and recommendations can be drawn.
4.3.2 Risk policy
The main goal of the project, the development of the AIventory product, is to automate the inventory management process with optimal results. Employee satisfaction is central and it goes without saying that the set deadline must be met. It is important to ensure the highest quality within the set timelines without compromising the efficiency of the automation, otherwise the project will miss its target.
risk attitude of the company (and perhaps risk goals)
company takes aggressive attitude towards risks. Takes risks on purpose, for example to make as much profit as possible.
risk strategy, questions for Daan. What does the company do to manage the risks;
- how are unacceptable risks reduced or avoided in the current situation?
- How are responsibilities for managing risks divided?
- Who has ultimate responsibility for the risk management process?
4.3.3 Internal and external risk factors
Various risk factors have been drawn up, both internal and external risks. These are divided into different categories: Project staff & leaders, Planning, Processes & Systems, Finance & resources, Location, Competition and Final project. The list of these risk factors can be found in Appendix 4A.
4.3.4 Measures
Now that it is clear which risks have priority based on the consequences and likelihood of the risk, the measures can be determined. These measures can be divided into 6 categories: Prevention, Detect, Reduce, Correct, Accept, or Transfer. Depending on the category, the consequence or probability of the risk will decrease. This can be read from the table in Appendix 4B.
4.3.5 Conclusion
As you can deduce from the aforementioned appendices, there are a number of high-priority risks. From this we can conclude that, if we look at the two risks with the highest priority, communication between client and development team is extremely important. The risks both concern the area of communication between the two parties. These risk factors indicate that if this communication is not adequately maintained, the end result will suffer with major consequences. Therefore, as a preventive measure, a measure is taken to schedule feedback sessions in advance and it is advised to maintain close contact between the client and the development team.
We can also see from Appendix 4A that the chance and consequences of the risk of an important individual failing (temporarily) is high. It is therefore proposed to keep a replacement internship supervisor in mind, if necessary. It is also recommended to keep several people with expertise informed about the status of the project.
Finally, we can say that a lot of attention must be paid to the user experience of the product. The estimate shows that there is a high chance, with significant consequences, that the product will ultimately prove to be functional, but that the user experience will fall short of expectations.
The recommendation is to follow the advice just mentioned in order to minimize the risks and increase the chance of success.
4.4 Methodology
4.4.1 Intro
Methodical action provides useful guidelines and a solid basis that can be used when confronted with complex issues. How do you respond to situations for which you simply do not have the knowledge? How do you obtain the requirements? How do you act when you have a knowledge question? How are the project phases maintained? This subchapter describes the action plan for the situations just discussed. The realizations of these plans will be elaborated in a later chapter and linked back to this chapter.
4.4.2 Requirements
About 50% of all IT projects fail (Soest, 2021). That's quite an extreme ratio. While the cause is often quite easy to recognize; requirements of a project or system that do not actually solve the problem. These requirements are the basis of your system and without a solid foundation, you will not achieve the desired end result. In short, properly recording these points is extremely important and that is why a lot of attention is paid to this part of the development in this project.
It is important to have a clear idea of where the requirements are derived from. The stakeholders are central to this process. The problem analysis determined which stakeholders there are and how much influence and importance they have. Furthermore, it is important to draw up a communication plan that accurately indicates when communication will take place with the various stakeholders, including how often and the method of communication. This document can be found in Chapter 4.X.X.X.
When these matters are clear, the requirements and wishes can be recorded according to the methods tailored to the relevant stakeholders as described in the aforementioned communication plan. These requirements and wishes are then formulated in the form of a user story. These stories must be autonomous: complete, independent and clear at a glance, explains (Soest, 2021). The user stories must also include acceptance criteria. Ultimately, the intention is for stakeholders to review and approve these user stories before they are considered documented requirements and wishes.
It is important to note that the user stories drawn up do not contain all requirements. They mainly include the Functional Requirements. In addition to these functional aspects, there are also the Non-Functional Requirements, such as the speed of the system response, the security levels or the user-friendliness (ScaledAgileFramework, 2023). In addition, this also includes Design Constraints, such as the choice of programming languages, technologies or hardware components. Both the Functional and Non-Functional requirements together form the scope of the project. However, certain items may not be explicitly stated, making it unclear whether they fall within the scope of the project. These items should be discussed and documented separately to provide complete clarity to both stakeholders and developers about what is and is not within the scope of the project.
4.4.3 Research plan
Various knowledge questions constantly arise during the development of the product. Many technologies or methods are often unknown to the developer and therefore require further research in advance. Moreover, the project starts with the research phase, but how exactly is research conducted and are the results useful and valid? In short, how is data collected and how do we analyze this data to ensure its usability and reliability.
Literature searches and prototyping comprised the majority of the research methods in the research phase, but a Multi-Criteria Analysis (hereinafter referred to as MCA) was also discussed. At the beginning of the research phase, the problem and goal are broadly determined. The next step was to investigate the best-suited technologies and resources for this problem. It always starts with a literature search; looking up possible solutions to the problem or analyzing existing projects with similar topics. It is always best practice to divide a large complex problem into smaller sub-problems. This way it is easier to find a suitable solution for the main problem.
An example of this was the sub-problem of having software recognize objects in an environment in a certain way. First of all, Steve Jobs researched the many possibilities to solve this problem. These solutions were ultimately incorporated into an MCA based on the following criteria:
1. Reliability of sources
2. Familiarity
3. Extensibility (extensibility of the solution)
4. Complexity
5. Pass rate
IMAGE MCA
The assessment of these criteria for the various solutions is based on the results found from the literature research, but also on making prototypes of the solutions. Prototyping is examining in a tangible way whether a product or service meets the purpose or wishes (Rekenkamer, n.d.). This practical method of research, combined with a literature review, is an effective way to find out whether a solution meets the previously set criteria.
The development of such a prototype can contain a lot of valuable information and does not have to take much time. In just a few hours you can have set up a small project with which you can test a solution. And also, in personal opinion, it is never “wasted time”. In a short time you are developing new technologies, which in turn represent previously unseen problems but also offer solutions. This may not be for the current problem, but it remains experience that can be used again in the future.
An example of this was while prototyping a simplistic Python project, where the presence of objects in an image was verified by checking the pixels of the object's location. With this prototype it was important that the image was first “prepared” by, for example, putting the image in grayscale or applying the “Stitching method”. Ultimately, this solution did not work out, but the knowledge about preparing the images was useful. This was later implemented in combination with the final solution direction.
4.4.4 Agile 🡪 Kanban
4.4.5 Git Strategy
4.5 Planning
5.0 Requirements Analyze
5.1 Functional Requirements
Below you will find the functional requirements of the main functionalities in the form of user stories. The complete list of these requirements, including the acceptance criteria, can be found in Appendix XXXX. The requirements priorities are classified on a scale from 0 to 5, with 0 representing the lowest priority and 5 the highest. These requirements were drawn up after gathering information during discussions with the various stakeholders according to the method stated in paragraph 4.4.2 of the approach.
User-story
Stakeholder(s)
Priority
USF001
As a user, I want to be able to view the stock status, so that I have a clear insight into the current state of the stock.
USF002
As a user, I want to be able to view the shopping list, so that I know which products need to be ordered.
USF003
As a user, I want to be able to view the statistics on the use of products from the stock, so that I can recognize "trends".
USF004
As a user, I want to be able to authenticate myself so that I can use the application.
USF005
As a user, I want to be notified when a product is in danger of running out of stock, so that I am aware of a completely used product.
USF006
As a user, I want to be able to set the threshold when a product should be added to the shopping list so that I maintain control over the shopping list.
USF007
As a user, I want to be able to automatically see products that are no longer in stock in the shopping list, so that the user's own actions are minimally necessary.
5.2 Non-Functional Requirements
The previously drawn up functional requirements also include the non-functional requirements. The most important of these are included in the table below. The other Non-Functional Requirements can be found in Appendix XXXX. These non-functional requirements relate to the categories stated in the ISO standard 25010, such as: Performance, Usability and Security.
USF001
NFR001A
The products and statistics must always be displayed in optimal condition within 2 seconds.
NFR001B
The user must be able to see at a glance what the total status of the stock is.
NFR001C
The products must be updated automatically when a new capture is received from the stock.
USF002
NFR002A
The products must always be displayed in optimal condition within 2 seconds.
NFR002B
When the products are picked up, a loading indicator will appear.
NFR002C
The user should be able to find the shopping list page within 3 clicks.
USF003
NFR003A
The graphs must be clearly readable on any type and size of screen.
NFR003B
The date must be in the form of DD/MM/YYYY.
USF004
NFR004A
Authenticating the user may take a maximum of 2 seconds.
NFR004B
The user does not have to authenticate himself again and again. The system remembers the user.
NFR004C
The user should be able to easily restore their account or create a new one.
USF005
NFR005A
The notification must be able to be disabled.
NFR005B
The user will be shown the relevant product.
NFR005C
The notification must only show current information (< 24 hours)
USF006
NFR006A
All main actions to set the threshold should be possible within 2 clicks.
NFR006B
5.3 Processing Requirements
5.3.1 Intro
Now that the requirements have been drawn up, we can incorporate them into the first designs. Using use cases, we can link the stated requirements to concrete situations. In this way we are able to sketch a picture of which steps the user and the system will perform for the relevant requirement. In addition, in addition to the “Happy flow”, it is also possible to outline the failing situations.
In addition, a domain model such as an Entity-Relationship Diagram allows us to clearly see which entities are needed and how they relate to each other. By outlining a good ERD, it can also serve as a blueprint for the future database.
Furthermore, the first wireframes and mood boards can be designed. These wireframes, and later mockups, are made based on the requirements and wishes. Not only are these essential for designing a user-friendly application; They also serve to check the requirements and whether the design is according to the client's wishes.
5.3.2 Use-Cases
5.3.3 Entity-Relationship-Diagram
5.3.4 Wireframes
In this section we link back to the requirements using a few wireframes. The complete list of these sketches can be found in appendix XXXX. Wireframes are in fact schematic representations of an application (Pieterse, s.d.). The concept is very abstract; A wireframe focuses on the functionality and content of an application or page. It mainly reflects the layout of a page, where the emphasis is on the absence of color, style or other graphic elements. This way we can easily find the initial requirements.
In the image below you will find 4 wireframes of the most important screens in the application. As mentioned earlier, these wireframes are designed based on the previously drawn up requirements. These can also be found in the sketches. For example NFR001B, the user should be able to see the stock status at a glance, can be found on the homepage (The leftmost wireframe). Here the larger circle represents a chart showing the complete status of the inventory. Broader requirements can also be found in these sketches. Think of USF001 for example, the user wants to be able to view the stock status, which can be found on the second wireframe. Where full inventory insights are shown. Or USF002, the user wants to be able to view the shopping list, is displayed on the third wireframe.
5.4 Technology Selection
5.4.1 Intro
The technology stack or selection is extremely important and affects not only the developer experience, but also the end result. Choosing the right technology stack is therefore also based on the previously drawn up requirements. Certain technologies may be ideal for a specific requirement or wish, while others may not be ideal at all. There are also many other factors to look at when it comes to choosing the right technologies. Consider, for example: costs, existing expertise, learning curve, scalability, compatibility, and more. It is therefore important to make these choices consciously and consider several options.
5.4.2 Front-End
The requirements and wishes revealed that the stock inventory system must be linked to a mobile application. This drastically limits our options for a Front-End. Since the mobile landscape is divided over two platforms, iOS and Android, this brings an additional difficulty. Often if you want to build a mobile application for both platforms, you will have to write the application in two different programming languages. One for the IOS application, which is often written in Swift. And one for the Android application, where we have the choice of the two programming languages: Java and Kotlin.
However, there is a solution to this problem. Flutter and React Native are both Mobile Development Frameworks that introduce something new; one language for both IOS and Android mobile app development.
With flutter you program in a language called Dart. You get a whole bunch of functions and widgets, so to speak, with which you can build your app. These tools are ultimately converted into the native code of the device on which the app is opened. On the other hand, there is React-Native, where you can program in Typescript. React-Native uses a tool to bundle the code and all associated assets into a single file that can be loaded by the native code of the device in question.
Ultimately, React-Native was chosen. Not only is this a very popular framework when it comes to mobile development. There was also already expertise in this area within the companyX and therefore the ideal choice.
5.4.3 De Back-End
The Back-End will consist of different components, each working with their own technology. Broadly speaking, it will consist of a Web API, a database, an additional server and the Recognition software. These parts all work together and all have their own tasks and responsibilities.
5.4.3.1 Web API
The main functionality of the Web API serves as a means of communication between the mobile application and the database. However, in this project, this is only a small part. This project only contains limited CRUD functionalities and state management, so an extensive API will not be necessary.
In our case, the API has more tasks: The server also uses the interface to communicate with the Recognition software. It works as a kind of intermediary that, as it were, passes on the packages. In addition, the API is also responsible for processing the information returned by the Recognition software. So that it can be readable and filtered at the front.
Because the CRUD functionalities are limited, a fairly compact but stable Web API was chosen. This is written in C#, again a language in which a lot of knowledge and expertise is available. In addition, we use the .NET framework, which means that many libraries will be available for the other tasks of the API. Furthermore, this makes integration with other Microsoft technologies even easier.
5.4.3.2 Database
Knowing that there will be few entities present in the system and also no complex relationships. The database does not have to be a powerful or complicated system. Preference is given to a database that can handle real-time data. Above all, the database must be easy to work with. There is little to no need for the ACID principles that a Relational Database provides. So the choice quickly goes to a Non-Relational Database that can offer both performance and flexibility. Based on these criteria, Firebase's Firestore was chosen. It is a pleasant No-SQL Document store that processes data in real-time (Firebase, 2024). 5.4.3.1 FTP Server
A separate server is responsible for receiving and, if necessary, processing the captures that the hardware makes of the stock. This hardware communicates over FTP, which is why an FTP server has been set up. Initially the intention was to build this into the Web API. But to split the tasks, it was decided to build this in a separate server. In addition, the intention was to write this server in C#. However, this took a lot of time, while previously it had been possible in Python within a few minutes. And that is why we decided to simply run a Python script, which is responsible for receiving, processing and passing on the captures from the camera.
5.4.3.1 Recognition Software
Probably the most complex component within the system that is responsible for the main functionality, the recognition software. Before the start of this project, extensive research had already been done by Steve Jobs into the ideal solution for recognizing objects from stock. Ultimately, it was decided to set up the recognition software using services from the Microsoft Azure landscape. Especially with the idea that you don't want to reinvent the wheel. The other possible solutions were quite complex, limited and far from as accurate as the services offered by Azure.
However, this does not mean that it was very easy to set up. A lot of testing has been done with prototyping to achieve the best results possible. The Azure landscape is also very extensive and you use many different services. In addition, it was still an experimental service. This means that there was not much or no extensive documentation available. But once it is working, it actually works well and is easy to maintain. This landscape is explained in detail in chapter 7, the realization. There it is discussed in detail how exactly the services work and how they are related to each other to provide the desired output.
6.0 Architecture & Design
6.1 Intro
In this chapter all views of the 4+1 model are discussed and shown. The choices made are then substantiated and explained. In addition, the architectures, design patterns and other best practices are also explained in more detail.
6.2 Logical View
The logical view focuses on the static structure of the system. It displays the essential components such as classes, objects and between these objects. The Web API class diagram below shows these objects and the relationship between the other objects. It is a low level outline and realistically does not include all classes in the system. This concerns the domain objects: Product, Stock, Shopping List, Vision and the user. The idea is that a stock and a shopping list contain a list of the object product.
The vision object fills the inventory with data. The content of the shopping list can be determined based on this data. The vision object ensures communication with the recognition software. This can start and retrieve the recognition process.
6.3 Process View
The process view, as the name suggests, emphasizes the process; the flow of the application. Visualizing the system flow provides a clear picture of how the system goes through specific steps. This provides insight into what these actions entail and in what order they are carried out to achieve the desired result. The activity diagram visualizes the flow of a business case, showing the actions of human parties. This makes it clear which steps exactly need to be carried out to achieve the business case.
A Sequence diagram is similar to an activity diagram, but it goes a little deeper into the actions and methods performed by the systems. This diagram therefore shows both human actions and the actions of the different systems. There are also various “swim lanes” in these diagrams so that it is exactly clear which actors (the systems or users) carry out which actions or methods.
(Activity Diagram)
(Sequence Diagram)
(Sequence Diagram)
6.4 Physical View
6.5 Development View
6.6 Use-Case View
6.7 Best Practices Used
7.0 Realization
7.1 Intro
Global overview of application landscape.
Deeper insights into the Azure environment
What route does the capture from inventory ultimately take?
How is the system deployed?
7.2 Birdseye-view
7.3 Azure Environment
Perhaps the most interesting but complex component of this system lies in the Microsoft Azure landscape. The previous section explains which components the system consists of and how they work together. In this section we will take a closer look at the Azure environment that is used to recognize the products from the captures.
It starts with the Azure Blobstorage. A blob store is simply a cloud storage for unstructured data. A “blob” stands for “Binary Large Object” for short, which in our case is almost always an image. This blob storage stores all images necessary to recognize the products. This includes images such as the captures themselves, but also all images of the products themselves.
An Azure Dataset is created from all images of all possible products. We need this dataset after the next step to create an Azure Custom Model. In the Azure Machine Learning Data Labeling Service, we create so-called “labels”. These are purely the names we want to give to the products. Consider, for example: Coca Cola, Fanta, Venz Hagelslag, etc.
Now that the labels and dataset have been created, the training process can be started. In the dataset we can indicate where the object is located on each image and mark it. We can then give the object the corresponding label as shown in the image below. This process must be repeated on each image in the dataset. Subsequently, each labeled image must also be reviewed. To ensure that these are all correct.
Finally in the training process, we can export the Labeling project to a COCO file. This file is used to create the Custom Model. We can then start the real training, now Azure will train the custom model on our data using machine learning.
This training can be completely tailored to your own wishes. The time and method of training is easy to set. In addition, over-training is not possible; Azure automatically stops when the system thinks the model is no longer trainable.
Once the Custom Model has finished training, it is possible to use the model in Computer Vision. The vision is then trained on the objects we have labeled. Now the software is able to recognize these objects from other images, such as our captures from stock.
7.4 From Capture to Data
7.5 Deployment
8.0 Testing
8.1 Intro
8.2 Test strategy
8.3 Reporting
8.4 Metrics
9.0 Results
- Conclusion
10.1 Evaluation
10.2 Recommendations
Source list
Firebase. (2024, January 4).Firestore. Retrieved on January 12, 2024, from Firebase: https://firebase.google.com/docs/firestore
ISO 25000. (z.d., z.d. z.d.).ISO/IEC 25010. Retrieved November 11, 2023, from ISO 25000: https://iso25000.com/index.php/en/iso-25000-standards/iso-25010
Pieterse, S. (n.d., n.d. n.d.).What is a wireframe and how to create one. Retrieved on January 12, 2024, from Vetdigital: https://vetdigital.nl/kennis-delen/blogs/wat-is-een-wireframe-en-hoe-maak-je-er-een
Accounting room. (e.g., e.g. e.g.).Prototyping. Retrieved on November 30, 2023, from the Court of Audit: https://www.rekenkamer.nl/over-de-algemene-rekenkamer/werkwijs/informatie/design-audit-studio/prototyping
Ridder, J. d. (e.g., e.g. e.g.).The importance of user experience design. Retrieved on November 27, 2023, from Inoma: https://inoma.nl/blogs/websites/het-belang-van-user-experience-design/
ScaledAgileFramework. (2023, Oktokber 13). Non-Functional Requirements. Retrieved on November 28, 2023, from Scaled Agile Framework: https://scaledagileframework.com/nonfunctional-requirements/
Soest, P. v. (2021, December 24).This is how you write better system requirements. Retrieved on November 27, 2023, from Incentro: https://www.incentro.com/nl-NL/blog/zo-schrijven-je-betere-system-requirements
Attachments
The following risk factors have been found and established:
Project employees & leaders
- The employees and/or leaders are (temporarily) not sufficiently available and may not be able to be replaced.
- The employees and/or leaders have insufficient knowledge or skills to successfully carry out the project.
- The client and the project employees and/or leaders are not sufficiently coordinated.
- The project leader does not inform the client or does not inform the client in a timely manner about the progress of the project.
Planning
- The planning is unrealistic and therefore cannot be achieved on time.
- The project is stuck because it is dependent on information and/or products and services from third parties.
- Because insufficient milestones have been included in the planning, it is unclear how far the project has progressed.
Processes & systems
- The employees have no authority over third-party systems and processes, which greatly delays the project.
- Systems and/or data are insufficiently secured and are used without authorization.
- Because third-party systems are insufficiently available, the project cannot be carried out successfully.
Finance & resources
- The budget is too tight.
- The costs are not sufficiently monitored, which means that adjustments cannot be made on time.
Location
- The business location burns down.
Competition
- There is already an existing comparable product that offers better quality, making this project redundant.
Final project
- The result of the project does not meet the preconditions
- The result is functionally OK, but the user experience does not meet expectations.
For drawing up complete requirements