Technology

Nyx Case Study - Safety Insights

Safety Insights – A Solution for Workplace Compliance and Safety

Providing real-time alerts and analytics for workplace safety and compliance Safety Insights – A Solution for Workplace Compliance and Safety Workplace safety and compliance are critical issues that every business must address. The traditional approach to monitor safety and compliance is through manual audits, which are time-consuming and prone to errors. Problem Workplace safety and compliance are critical issues that every business must address. The traditional approach to monitor safety and compliance is through manual audits, which are time-consuming and prone to errors. There is a need for a solution that can monitor the workplace in real-time and provide alerts and analytics to improve safety and compliance. Key Requirements The solution should use existing CCTV cameras to monitor the workplace and detect and track the workflow. It should be powered by artificial intelligence and should be able to learn from previous data to identify correct processes and mark discrepancies. The solution should have multiple deployment options, including edge, on-premise, and cloud. It should have a dashboard for data visualisation and reporting. Data Privacy The Ajna Architecture has 100% privacy built-in as 100% of the video processing is happening at the edge, at the customer’s location, and 0% of the video feed is uploaded to the cloud. In addition, 0% of the video feed is stored locally for future processing, however, on a requirement basis, the video can be stored locally. 100% processing occurs in real-time on the Ajna Edge Device. The solution is GDPR compliant. Results The solution has a detection accuracy of more than 90% and has helped businesses improve safety and compliance in the workplace. The dashboard provides real-time alerts and analytics, which has helped businesses identify and resolve safety and compliance issues in real-time. Logic The solution is an artificial intelligence-enabled solution that uses existing CCTV cameras to detect and track the workflow of the workplace. The AI is trained using previous data to identify the correct process and mark discrepancies. The solution has multiple deployment options, including edge, on-premise, and cloud. The dashboard provides real-time alerts and analytics to improve safety and compliance. Custom Object Detection All underlying architecture for any object detection is already built. It will take approximately 2-3 weeks to train any new object Eg. Smoke, New PPE. The accuracy is based on the correct training data and camera angles in which the videos are recorded. Intended Outcomes The intended outcomes of the solution are to be able to analyze and report all the observations decided with the client and deploy a system that can monitor and produce safety data of the business. Quality/Accuracy The detection accuracy of the solution is more than 90%, which has helped businesses improve safety and compliance in the workplace. Services The solution provides real-time alerts and analytics to improve safety and compliance in the workplace. It uses existing CCTV cameras to detect and track the workflow and provides real-time alerts and analytics to improve safety and compliance. Technology

Read more

How to Install & Run Node/React app as an Exe file?

 Node.js + React App Importance The combination of Node.js and React is widely used in modern web development due to their complementary strengths and ability to build fast, scalable, and maintainable full-stack applications. Also it offers a powerful and efficient full-stack development environment by leveraging JavaScript on both the frontend and backend. This unified language model streamlines the development process, allows for shared logic across layers, and reduces the learning curve for developers. Node.js provides a fast, scalable, and non-blocking backend that’s ideal for handling APIs, real-time data, and microservices, while React enables the creation of dynamic, responsive user interfaces through its component-based architecture and virtual DOM. Here’s why this stack is even more important: Seamless Full-Stack JavaScript:Both frontend (React) and backend (Node.js) use JavaScript, allowing for shared code, faster development, and easier onboarding of developers across the stack. Scalable and High-Performance Architecture:Node.js is non-blocking and event-driven, ideal for handling concurrent requests—while React enables fast, interactive user interfaces via a virtual DOM. Rapid Development with Large Ecosystem:The npm ecosystem offers thousands of ready-made packages, while React’s component-based structure makes UIs modular and reusable. Real-Time and SPA Friendly:Perfect for building real-time features (like chat, notifications) and single-page applications with smooth client-side routing using libraries like React Router. Strong Community and Support:Both technologies are backed by large communities (Node by the OpenJS Foundation, React by Meta), ensuring ongoing updates, tools, and job market relevance. To Install and Run app as an Exe file We’ll need the following prerequisites: NodeJS and npm installed. https://docs.npmjs.com/downloading-and-installing-node-js-and-npm A demo App https://medium.com/@diogo.fg.pinheiro/simple-to-do-list-app-with-node-js-and-mongodb-chapter-1-c645c7a27583  Inno Setup Compiler  https://jrsoftware.org/isdl.php Bat to exe converter https://bat-to-exe-converter-x64.en.softonic.com/ Step 1 : Make Sure the Node app is installed and ready to launch.  Run the install command mentioned in the documentation of the app.Usually it’s either NPM in it or YARN install Once the installation is done and all the required modules are installed, try running the app with the command mentioned in the documentationUsually it’s NPM start or YARN run Step 2 : Create a exe file that executes the run command to start the application Open BAT to EXE converter Type the run command used to start the app Click convert to convert it into an exe file, we can also add an icon for a better looking exe file. Add this line on top to open the cmd in background if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start “” /min “%~dpnx0” %* && exit Step 3 : Create a setup file to extract the files and create a shortcut on desktop and start menu Open inno setup compiler Select “new script” and fill in the project details. Let the application destination base be default or customise it if needed.This will be your installation directory. Choose the exe file we created on step 2 as main executable fileAlso choose “add folder” and choose the root folder consisting all the required files and exe file. Choose your setup name, output folder and setup icon. Click on finish to generate the setup file Step 4 : Create a installer for systems without nodeJS Pre installed. Go to your setup output directory from step 3 Download the latest version from herehttps://nodejs.org/en/download/ Group them in a folder named “bin” like this Open bat to exe converter and paste the following commands cd bin/ start “YourApplicationNameHere”.exe start node.msi Convert it to an exe and place it outside the bin folder Compress the bin folder and this exe as a zip. This Zip can be shared with anyone who doesn’t have prior programming experience or nodeJS installed in their system. The installer installs both NodeJs and the app and creates shortcuts on the desktop and start menu. This shortcut will open up the application in the browser. To learn how to setup CI/CD Pipeline for react app with Github actions: https://nyxwolves.com/uncategorized/setup-ci-cd-with-github-actions-for-a-react-app-with-aws-ec2/

Read more

How to setup CI/CD with GitHub Actions for a React App with AWS EC2?

Here’s a tutorial on how to create a simple CI/CD with GitHub Actions for deploying React applications. Getting started GitHub Actions allows you to automate, customise, and execute software development workflows right in your GitHub repository. A workflow is a configurable automated process made up of one or more jobs. You can configure your workflows to run when specific activity on GitHub happens, at a scheduled time, or when an event outside of GitHub occurs. The workflow configuration is defined by a YAML file. GitHub provides preconfigured workflow templates. Before we start on setting up the actions Github would require a few secrets to identify the EC2 instance. Seeking the secrets First, on your React App GitHub repository, navigate to the main page of the repository, click Settings. Inside settings you’ll find actions which will contain repository secrets. These secrets are encrypted environment variables that we create in an organization repository, or repository environment. Now is the chance to get back to our EC2 Dashboard to the respective instance and get the details for the instance in which we are going to deploy. You can visit this to see how to setup EC2 instance for React Apps We’ll start with the basics and define the host machine i.e IP of the instance. Click on the new repository secret and fill in the values.. Refer to the following table on how we do it. DEPLOY_HOST Public IP of your EC2 instance DEPLOY_KEY Copy paste the content from your pem file DEPLOY_PORT 22 DEPLOY_TARGET Location for the folder in which files will be stored in the instance DEPLOY_USERNAME ssh username for your instance A small tip here, if you are deploying in the home location of your instance path to it would be /home/ubuntu/folder_name if you are on an Ubuntu Instance. Defining the workflow process Then, you’ll see suggestions of CI templates that are the best fit for your project. You can use workflow templates as a starting place to build your custom workflow. In this case, click Set up this workflow, under the name of the template NodeJS. Setting up the Workflow Now there are two ways you can go around, you can choose from a predefined template provided by Github or set up your own workflow. In this tutorial we are going to set up our own workflow. And don’t worry we’ll share our workflow here as well. You can use this workflow code: name: Build React Files & Deploy to EC2 amazon There are 2 events that trigger the workflow on push or pull request. The virtual environment used to run the workflow is an Ubuntu machine in the latest version. In the steps section, 2 actions and 3 NPM scripts are being used. The first action actions/checkout@v2 is a standard that you must include in your workflow before other actions when your workflow requires a copy of your repository’s code. The second one, as the name suggests, it is a set up for Node.js, as you can see, the set up is made in different versions of Node.js, through an array with all the versions used. After adding the deploy command on your workflow, click Start commit, and click Commit new file. After commiting the code the pipeline should start running and it will start deploying the application. You can see the status of your workflow in the Actions tab And the status of your workflow will be shown there. Happy Coding 🙂 To learn more about the importants of CI/CD, do check out our blogs: https://nyxwolves.com/ci-cd-pipelines-for-development-businesses-post-corona/ https://nyxwolves.com/web-development/ways-ci-cd-can-increase-your-productivity/   References: · https://github.com/features/actions

Read more

Top 5 Future technologies to await in 2022

Introduction After the pandemic, we don’t want to go out. But, yes, almost everything has changed, and so has technology. Tech companies have already begun using innovative technologies even before we know. So, here is a wrap-up of technologies that you will learn in the meantime for the year 2022. RPA – Robotic Process Automation RPA automates jobs that are done routinely over time. Take an example of your keyboard suggestions helping you get rid of typing the whole thing and giving you the exact or alternative words. Similarly, RPA will be used for replying to emails, processing transactions, saving data, and even more.  Technology that is automating jobs (oh yes, we might lose jobs now) McKinsey found that 5 percent of the occupation can be automated, and nearly 60 percent can be partly automated. Note that RPA will be accurate and essential for data-driven companies. But RPA can develop and open for greater scope in career opportunities by looking out for RPA analysts, developers, and even a consultant. Edge Computing Coming to Edge Computing, the technology is utilized to increase the speed of the data transferred through the cloud in time. As companies make cloud computing mainstream, there is room for data and more space but delays while transferring data. So it has become hard to proceed to transfer or prepare to send data in a short time. Edge computing (take it as on edge) will make the process smooth, taking from one edge without trouble to another edge in time without waiting or lost data.  PEC – Privacy Enhancing Computation Privacy Enhancing Computation (Protection of data, you know) has successfully implemented data protection security mechanisms. Moreover, they manage the various means of individuals concerned about securing their documents’ by encryption (seems doable).  PEC will eventually ensure security while businesses purchase and sell cloud-based assets in extremely efficient marketplaces. At an earlier stage, it allows companies to effortlessly update their data sharing proficiency and monetize the prospects to help them achieve their business goals. PEC is a high-level technology that will protect individual users’ data (associated personally or professionally) and eliminate any dangers linked with sensitive data disclosure. CNP – Cloud Native Platforms CNP is well aware of creating, monitoring, and optimizing applications that rely on other clouds. Indeed, IBM’s study shows that the usage of CNP is rising among the companies and predicted that more than 50 percent of the upcoming applications will be developed on their cloud natives.  If you own a cloud company, then yes, the news is for you. You can save some colossal amounts being spent on traditional management and shift to automated tasks. Meanwhile, adopting cloud-native into your business strategy will let you utilize, build, and maintain such solid and appealing CNPs quickly and purposefully to meet changing client demands. IoB – Internet of Behaviour Internet of Things to Internet of Behaviour we have all grown so much in technology. However, understanding how critical it is to collaborate with giant digital behemoths to achieve real user engagement for clients, IoB will make the task easier. Internet of Behaviour first accumulates data on user behavior, such as their areas of interest, when researching any item or service. Later, with the appropriate use of technologies (say, data analytics), businesses can make the best use of their preferences and extract rocket-speed ROI in all possible ways. As a result, they will majorly result in increased competitiveness and scalability. Plus, here is more to these innovations, and we couldn’t put them all together. So maybe in the near-future, when we think about any product, it just appears physically. – Take it easy. 

Read more
Contact us

Partner with Nyx Wolves

As an experienced provider of AI and IoT software solutions, Nyx Wolves is committed to driving your digital transformation journey. 

Your benefits:

What happens next?
1

We Schedule a call at your convenience 

2

We do a discovery and consulting meting 

3

We prepare a proposal 

Schedule a Free Consultation