Product id/number scanner with ionic & Angular

Hello everyone

I am trying to implement a product number scanner in my android/Ios application.

So far I only found solutions regarding barcode or qr code. Which is not the solution I am looking for.

I need a numeric code scanner for product number, item number/id.

I have selected the framework angular.

Created a button.
When clicking on the button, a photo or document should be scanned by camera. This scanned code/article number should be saved either in the same window or in a new tab. Of course it would be nicer in a new tab.

What would also be great, if you could also upload a picture/document to scan it afterwards.

By means of button by cell phone camera scan.
By uploading document or image scan.

Does anyone have a tutorial or even a solution for this? Would be very grateful.

Best regards rafael