DALLAS (CBSDFW.COM) – With the market for marijuana booming nationwide, the University of Texas at Dallas is working on new technology to help police quickly test drivers on the roadside for possible intoxication from THC, the psychoactive chemical in cannabis.

The device works similar to a breathalyzer, but uses a person’s saliva.

READ MORE: After 2 Days, Faiza Fahad Still Missing After Leaving Wylie Home On-Foot

THC Tester (CBS 11)

It shows not only if, but how much THC is in a person’s system.

“This is a truly breakthrough technology, Dr. Shalini Prasad, Professor in the Department of Bioengineering. ”

You stick it in your mouth. You take it out. You put it on a sensor – and within 30 seconds, within a minute – it’ll tell you what the number is,” Dr. Prasad said.

Forty six states now have some form of legalized cannabis and that includes Texas.

READ MORE: 'So Casual', Fort Worth Police Seek Suspects Who Stole, Destroyed Golf Carts From Resort

The state’s low-THC medical marijuana is expanding, CBD oil is widely available, and farmers will soon be able to grow hemp.

The growing presence is fueling interest from law enforcement for a way to quickly test for the presence of THC.

In the past year, blood samples analyzed by the Texas Department of Public Safety’s crime lab have found 2,369 drivers positive for THC.

Blood tests, though, require a trip to the hospital.

MORE NEWS: Burleson Police Department Asks For Prayers After Officer Kevin Cordell Shot In Line Of Duty

Officers say tests they can perform on the roadside in a minute or less will provide them with better information about the drivers they encounter.